OSDN Git Service

toybox: Fix compilation warning in fdisk
authorSteve Kondik <steve@cyngn.com>
Sun, 24 Jan 2016 08:09:10 +0000 (00:09 -0800)
committerSteve Kondik <steve@cyngn.com>
Sun, 24 Jan 2016 08:09:10 +0000 (00:09 -0800)
Change-Id: I52c9fcc91f1b59f292575b491ab6f48d8162770a

toys/pending/fdisk.c

index d000c05..08cfa71 100644 (file)
@@ -1486,7 +1486,7 @@ void fdisk_main(void)
     toys.exitval = 0;
     return;
   } else {
-    if (toys.optc != 1) help_exit(stdout);
+    if (toys.optc != 1) help_exit(0);
     if (read_mbr(toys.optargs[0], 1)) return;
     while (1) {
       xputc('\n');