DragonFly BSD
DragonFly submit List (threaded) for 2006-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

dumpon(8): sanitize status message


From: Csaba Henk <csaba.henk@xxxxxxx>
Date: 24 Mar 2006 07:05:01 GMT

diff -r bb073eb2a5f1 sbin/dumpon/dumpon.c
--- a/sbin/dumpon/dumpon.c	Tue Mar 21 18:14:43 2006 +0000
+++ b/sbin/dumpon/dumpon.c	Fri Mar 24 02:41:35 2006 +0100
@@ -98,7 +98,7 @@ main(int argc, char **argv)
 		if (stab.st_rdev == NODEV) {
 			printf("dumpon: crash dumps disabled\n");
 		} else {
-			printf("dumpon: crash dumps to %s (%lu, %lu)\n",
+			printf("dumpon: crash dumps to %s (%lu, %#lx)\n",
 			       argv[0],
 			       (unsigned long)major(stab.st_rdev),
 			       (unsigned long)minor(stab.st_rdev));



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]