summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2014-12-07 19:11:54 +0100
committerAndreas Baumann <abaumann@yahoo.com>2014-12-07 19:11:54 +0100
commita552fc4ef996e8456803796ee1e6a053b0da9cdf (patch)
treecc130061dbdc76730d6350c0ddf4932fc1ee33c4
parentc1ee4a252d82ff8ef4bf0845b4c2f21d2b4ec000 (diff)
downloadbiruda-a552fc4ef996e8456803796ee1e6a053b0da9cdf.tar.gz
biruda-a552fc4ef996e8456803796ee1e6a053b0da9cdf.tar.bz2
..
-rw-r--r--src/worker.c4
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 );