X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=inline;f=ipc.c;h=2cab393700dfbf84a8119228f49a21e705174278;hb=5b972aabaf27931cae6ac318c9b920d33593f07b;hp=debf9d11be254ed6cf07d7dc390763cbc0f5fb8d;hpb=1da7031d6e7ac088291934c8ceef5cad9b92ccb3;p=paraslash.git 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); }