[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dbootstrap hangs when flavor is not specified



Hi.

Please apply the following patch:

--- ../../../cvs/boot-floppies/utilities/dbootstrap/main.c	Mon Jan 31 21:07:50 2000
+++ utilities/dbootstrap/main.c	Wed Feb  2 12:21:36 2000
@@ -243,7 +243,7 @@
   FILE *f;
   char key[20];
 
-  if ( strlen(bootargs.flavor) > 0) {
+  if (bootargs.flavor != NULL && strlen(bootargs.flavor) > 0) {
     snprintf(flavor, sizeof(flavor), "%s/", bootargs.flavor);
   }
 
This is required if "flavor=" option is not specified.

# I check this using resc1440 and root1440 for LINGUA C.

-- 
  Taketoshi Sano: <sano@debian.org>,<sano@debian.or.jp>,<kgh12351@nifty.ne.jp>


Reply to: