diff options
author | 2012-08-04 15:11:43 -0700 | |
---|---|---|
committer | 2012-08-04 15:11:43 -0700 | |
commit | c67702a4989c450acd2c9f02fb65aa757f74880f (patch) | |
tree | f1def9222481625273521642d68db72c46b866b1 /proc.cpp | |
parent | 5880cd88c8e378efb3c76e0cfdff99dce0edf810 (diff) |
Cleaned up lots of typecasts, simplified some string handling
Diffstat (limited to 'proc.cpp')
-rw-r--r-- | proc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -377,8 +377,8 @@ static void mark_process_status( const job_t *j, char mess[MESS_SIZE]; snprintf( mess, MESS_SIZE, - "Process %d exited abnormally\n", - (int) p->pid ); + "Process %ld exited abnormally\n", + (long) p->pid ); /* If write fails, do nothing. We're in a signal handlers error handler. If things aren't working properly, it's safer to @@ -866,7 +866,7 @@ static void read_try( job_t *j ) while(1) { char b[BUFFER_SIZE]; - int l; + long l; l=read_blocked( buff->param1.pipe_fd[0], b, BUFFER_SIZE ); |