summaryrefslogtreecommitdiffstats
path: root/usr.bin/kdump
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-03-13 18:58:39 +0000
committerjhb <jhb@FreeBSD.org>2003-03-13 18:58:39 +0000
commit038218e801500a5d83f9c7e91dbfb7f999730285 (patch)
tree57ad278f435a030f288707264a58545cafefa2f4 /usr.bin/kdump
parenteb82103523e7f3aaa33e1efce1a84a8dcff49f9f (diff)
downloadFreeBSD-src-038218e801500a5d83f9c7e91dbfb7f999730285.zip
FreeBSD-src-038218e801500a5d83f9c7e91dbfb7f999730285.tar.gz
Add a default case that just outputs a new line for the case of an
unknown header type.
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r--usr.bin/kdump/kdump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 089023b..06430d6 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -182,6 +182,9 @@ main(int argc, char *argv[])
case KTR_USER:
ktruser(ktrlen, m);
break;
+ default:
+ printf("\n");
+ break;
}
if (tail)
(void)fflush(stdout);
OpenPOWER on IntegriCloud