summaryrefslogtreecommitdiff
path: root/usr.bin/kdump
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2011-07-09 07:22:06 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2011-07-09 07:22:06 +0000
commit3581038685c9d1b886ed41ada55a8a1e721ea836 (patch)
tree8002a62014e1f630acaa7bbcd16a0eb3efac76e9 /usr.bin/kdump
parent56c76d8f9d516740af388147caacb7da54d3be66 (diff)
print the name of an unknown struct, it has been verified to be sane;
prodded by tedu@
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r--usr.bin/kdump/kdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 82d79aa1fc0..794bda46e70 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kdump.c,v 1.56 2011/07/09 04:01:30 deraadt Exp $ */
+/* $OpenBSD: kdump.c,v 1.57 2011/07/09 07:22:05 otto Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -1073,7 +1073,7 @@ ktrstruct(char *buf, size_t buflen)
goto invalid;
ktrsockaddr((struct sockaddr *)&ss);
} else {
- printf("unknown structure\n");
+ printf("unknown structure %s\n", name);
}
return;
invalid: