/*
- * Copyright (C) 2006-2007 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
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);
}