Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/svr4 add appropriate cast to debug printf
details: https://anonhg.NetBSD.org/src/rev/12ed64b22edd
branches: trunk
changeset: 517737:12ed64b22edd
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sun Nov 18 13:29:29 2001 +0000
description:
add appropriate cast to debug printf
diffstat:
sys/compat/svr4/svr4_misc.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r b56f58350510 -r 12ed64b22edd sys/compat/svr4/svr4_misc.c
--- a/sys/compat/svr4/svr4_misc.c Sun Nov 18 13:10:57 2001 +0000
+++ b/sys/compat/svr4/svr4_misc.c Sun Nov 18 13:29:29 2001 +0000
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/systm.h>
@@ -1147,7 +1147,8 @@
}
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));
}
Home |
Main Index |
Thread Index |
Old Index