Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/kdump Fix printf botch
details: https://anonhg.NetBSD.org/src/rev/c68efe38a91c
branches: trunk
changeset: 552170:c68efe38a91c
user: matt <matt%NetBSD.org@localhost>
date: Sat Sep 20 22:24:00 2003 +0000
description:
Fix printf botch
diffstat:
usr.bin/kdump/kdump.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r db515f93de35 -r c68efe38a91c usr.bin/kdump/kdump.c
--- a/usr.bin/kdump/kdump.c Sat Sep 20 21:42:47 2003 +0000
+++ b/usr.bin/kdump/kdump.c Sat Sep 20 22:24:00 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kdump.c,v 1.61 2003/09/20 00:17:44 christos Exp $ */
+/* $NetBSD: kdump.c,v 1.62 2003/09/20 22:24:00 matt Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)kdump.c 8.4 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: kdump.c,v 1.61 2003/09/20 00:17:44 christos Exp $");
+__RCSID("$NetBSD: kdump.c,v 1.62 2003/09/20 22:24:00 matt Exp $");
#endif
#endif /* not lint */
@@ -751,8 +751,9 @@
printf(": code=%s child pid=%d, uid=%d, "
" status=%u, utime=%lu, stime=%lu)\n",
code, si->si_pid,
- si->si_uid, si->si_status, si->si_utime,
- si->si_stime);
+ si->si_uid, si->si_status,
+ (unsigned long) si->si_utime,
+ (unsigned long) si->si_stime);
return;
case SIGILL:
case SIGFPE:
Home |
Main Index |
Thread Index |
Old Index