diff options
author | Thomas Bushnell <thomas@gnu.org> | 1997-04-14 18:35:44 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1997-04-14 18:35:44 +0000 |
commit | e0d50fcc2a87b21978a6b3320e7236a2140b3faf (patch) | |
tree | f0016e1a798fd190a2ba744429dc82ab4c027786 /boot/boot_script.c | |
parent | 4643a63135f6b3a660e11261d1785e7a9f0c0685 (diff) | |
download | hurd-e0d50fcc2a87b21978a6b3320e7236a2140b3faf.tar.gz hurd-e0d50fcc2a87b21978a6b3320e7236a2140b3faf.tar.bz2 hurd-e0d50fcc2a87b21978a6b3320e7236a2140b3faf.zip |
Mon Mar 17 13:12:45 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* boot_script.c (boot_script_parse_line): Don't print gratuitous
output noise.
Diffstat (limited to 'boot/boot_script.c')
-rw-r--r-- | boot/boot_script.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/boot/boot_script.c b/boot/boot_script.c index 618830f2..75b01633 100644 --- a/boot/boot_script.c +++ b/boot/boot_script.c @@ -285,13 +285,18 @@ boot_script_parse_line (char *cmdline) /* Ignore comment line. */ return 0; +#if 0 if (*p && *p != ' ' && *p != '\t' && *p != '\n') - printf ("(bootstrap): %s\n", cmdline); + { + printf ("(bootstrap): %s\n", cmdline); + } +#endif for (q = p; *q && *q != ' ' && *q != '\t' && *q != '\n'; q++) ; if (p == q) - return 0; + return 0; + *q = '\0'; /* Allocate a command structure. */ @@ -490,6 +495,7 @@ boot_script_parse_line (char *cmdline) } } } + bad: free_cmd (cmd, 1); |