mtools/mtools-3.9.9-badc.patch

23 lines
791 B
Diff

--- mtools-3.9.9/mainloop.c.badc 2004-01-08 10:00:40.329589474 +0000
+++ mtools-3.9.9/mainloop.c 2004-01-08 10:01:18.862998275 +0000
@@ -328,7 +328,7 @@
return ERROR_ONE;
if(got_signal)
return ret | ERROR_ONE;
- if(doing_mcwd & !have_one)
+ if(doing_mcwd && !have_one)
return NO_CWD;
return ret;
}
--- mtools-3.9.9/mpartition.c.badc 2004-12-10 17:02:04.252330515 +0000
+++ mtools-3.9.9/mpartition.c 2004-12-10 17:04:27.784874153 +0000
@@ -249,7 +249,7 @@
fprintf(stderr,
"Mtools version %s, dated %s\n", mversion, mdate);
fprintf(stderr,
- "Usage: %s [-pradcv] [-I [-B bootsect-template] [-s sectors] "
+ "Usage: %s [-pradcv] [-I] [-B bootsect-template] [-s sectors] "
"[-t cylinders] "
"[-h heads] [-T type] [-b begin] [-l length] "
"drive\n", progname);