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