commit | 42704b702d3d479f96074501ea574fa7e2694855 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Apr 05 10:13:47 2017 -0700 |
committer | Rob Landley <rob@landley.net> | Tue Apr 11 12:25:40 2017 -0500 |
tree | 056ba54cfcc1e4066cdf7f3dd7c57bb4975364f5 | |
parent | 36b6eb775f8913dbb6ded4fe05a8bfd5e0130a38 [diff] |
Make fdisk buildable. The argument to help_exit is a char*, not a FILE*.
diff --git a/toys/pending/fdisk.c b/toys/pending/fdisk.c index d000c05..08cfa71 100644 --- a/toys/pending/fdisk.c +++ b/toys/pending/fdisk.c
@@ -1486,7 +1486,7 @@ 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');