Date: Sat, 07 Nov 2009 20:59:30 +0100 (CET) From: Alexander Best <alexbestms@math.uni-muenster.de> To: <freebsd-current@FreeBSD.org> Subject: [patch] stop kdump from segfaulting with a linuxulator ktrace.out Message-ID: <permail-200911071959301e86ffa8000032f8-a_best01@message-id.uni-muenster.de>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
could somebody please commit this very simple patch to HEAD which has been
around for almost 2 years, but never got committed (bin/120055).
thanks in advance.
alex
[-- Attachment #2 --]
Index: kdump.c
===================================================================
--- kdump.c (revision 199016)
+++ kdump.c (working copy)
@@ -799,7 +799,7 @@
narg--;
}
}
- while (narg) {
+ while (narg > 0) {
print_number(ip,narg,c);
}
(void)putchar(')');
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-200911071959301e86ffa8000032f8-a_best01>
