Subject: bug in machdep.c
To: None <tls@cloud9.net>
From: Kenneth Stailey <kstailey@leidecker.gsfc.nasa.gov>
List: current-users
Date: 11/30/1994 22:57:04
charon% diff -u machdep.c.DIST machdep.c
--- machdep.c.DIST Fri Oct 14 10:11:44 1994
+++ machdep.c Fri Nov 25 00:31:14 1994
@@ -783,7 +783,7 @@
dumplo &= ~(ctod(1)-1);
/* If it does not fit, truncate it by moving dumplo. */
- if (dumplo < ctod(1)) {
+ if (dumplo < (long)(ctod(1))) {
dumplo = ctod(1);
dumpsize = dtoc(nblks - dumplo);
}
Comparison always fails. Surfaces as "savecore: read: invalid argument" on
machines with small primary swap.
Is there a way to dump in your second swap space (/dev/sd1b)?
Ken