diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2014-12-07 19:11:54 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2014-12-07 19:11:54 +0100 |
commit | a552fc4ef996e8456803796ee1e6a053b0da9cdf (patch) | |
tree | cc130061dbdc76730d6350c0ddf4932fc1ee33c4 /src/worker.c | |
parent | c1ee4a252d82ff8ef4bf0845b4c2f21d2b4ec000 (diff) | |
download | biruda-a552fc4ef996e8456803796ee1e6a053b0da9cdf.tar.gz biruda-a552fc4ef996e8456803796ee1e6a053b0da9cdf.tar.bz2 |
..
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/worker.c b/src/worker.c index bcf01f3..d2f0fef 100644 --- a/src/worker.c +++ b/src/worker.c @@ -195,7 +195,7 @@ static void watch_child( GPid pid, gint status, gpointer *data ) direct_glib_execution_worker_data_t *wed = (direct_glib_execution_worker_data_t *)data; worker_t *worker = wed->worker; - printf( "Worker child with PID %d terminated.\n", wed->pid ); + printf( "Worker child with PID " PRIgid " terminated.\n", wed->pid ); char *msg = create_worker_termination_answer( worker->name, wed->pid ); worker_send_message( worker, msg ); @@ -263,7 +263,7 @@ static void *worker_func( void *thread_data ) return NULL; } - printf( "Worker child with PID %d created: %s.\n", + printf( "Worker child with PID " PRIgid " created: %s.\n", wed->pid, worker->command ); char *msg = create_worker_created_answer( worker->name, wed->pid ); |