summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-22 15:16:43 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-22 15:44:58 +1000
commit4a36db60774640ea92a2133a3b08fbf1a48d2cb6 (patch)
tree572289141a314d92ebaf8376211af468b31fe596
parentda0d3baf71b34657cc235d6c6b37d548541f9449 (diff)
os: fix compiler warning "too few arguments to format"
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--os/osinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/osinit.c b/os/osinit.c
index b7bd0763b..1559135fa 100644
--- a/os/osinit.c
+++ b/os/osinit.c
@@ -136,8 +136,8 @@ OsSigHandler(int signo)
#ifdef SA_SIGINFO
if (sip->si_code == SI_USER) {
- ErrorF("Recieved signal %d sent by process %ld, uid %ld\n",
- (long) sip->si_pid, (long) sip->si_uid);
+ ErrorF("Recieved signal %ld sent by process %ld, uid %ld\n",
+ (long) sip->si_code, (long) sip->si_pid, (long) sip->si_uid);
} else {
switch (signo) {
case SIGSEGV: