X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ipc.c;h=40a905724b075414293175478fecdb0384beb672;hp=debf9d11be254ed6cf07d7dc390763cbc0f5fb8d;hb=68f0d202714b85c9b5e649dcefc41df58fe8e31e;hpb=1da7031d6e7ac088291934c8ceef5cad9b92ccb3 diff --git a/ipc.c b/ipc.c index debf9d11..40a90572 100644 --- a/ipc.c +++ b/ipc.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2007 Andre Noll + * Copyright (C) 2006-2008 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -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); }