From bf65eb50aff4ab1c903ad87cc14f4599f7ea0216 Mon Sep 17 00:00:00 2001 From: jdolecek Date: Sun, 18 Nov 2001 13:29:29 +0000 Subject: [PATCH] add appropriate cast to debug printf --- sys/compat/svr4/svr4_misc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c index 9a40c0916252..273024ddd5a1 100644 --- a/sys/compat/svr4/svr4_misc.c +++ b/sys/compat/svr4/svr4_misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: svr4_misc.c,v 1.93 2001/11/13 02:09:23 lukem Exp $ */ +/* $NetBSD: svr4_misc.c,v 1.94 2001/11/18 13:29:29 jdolecek Exp $ */ /*- * Copyright (c) 1994 The NetBSD Foundation, Inc. @@ -44,7 +44,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: svr4_misc.c,v 1.93 2001/11/13 02:09:23 lukem Exp $"); +__KERNEL_RCSID(0, "$NetBSD: svr4_misc.c,v 1.94 2001/11/18 13:29:29 jdolecek Exp $"); #include #include @@ -1147,7 +1147,8 @@ svr4_setinfo(p, st, s) } DPRINTF(("siginfo [pid %ld signo %d code %d errno %d status %d]\n", - i.si_pid, i.si_signo, i.si_code, i.si_errno, i.si_status)); + (long) i.si_pid, + i.si_signo, i.si_code, i.si_errno, i.si_status)); return copyout(&i, s, sizeof(i)); }