[patch] stop kdump from segfaulting with a linuxulator ktrace.out
Alexander Best
alexbestms at math.uni-muenster.de
Sat Nov 7 19:59:39 UTC 2009
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
-------------- next part --------------
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(')');
More information about the freebsd-current
mailing list