X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ipc.c;h=2cab393700dfbf84a8119228f49a21e705174278;hp=debf9d11be254ed6cf07d7dc390763cbc0f5fb8d;hb=a40528e00065e7b0edff0edcfd0dd2c6371c9c6b;hpb=1da7031d6e7ac088291934c8ceef5cad9b92ccb3 diff --git a/ipc.c b/ipc.c index debf9d11..2cab3937 100644 --- a/ipc.c +++ b/ipc.c @@ -52,7 +52,8 @@ static void para_semop(int id, struct sembuf *sops, int num) PARA_NOTICE_LOG("semaphore set %d was removed\n", id); return; } - PARA_EMERG_LOG("fatal semop error %s: pid %d\n", strerror(errno), getpid()); + PARA_EMERG_LOG("fatal semop error %s: pid %d\n", strerror(errno), + (int)getpid()); exit(EXIT_FAILURE); }