OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36b6eb7
)
Make fdisk buildable.
author
Elliott Hughes
<enh@google.com>
Wed, 5 Apr 2017 17:13:47 +0000
(10:13 -0700)
committer
Rob Landley
<rob@landley.net>
Tue, 11 Apr 2017 17:25:40 +0000
(12:25 -0500)
The argument to help_exit is a char*, not a FILE*.
toys/pending/fdisk.c
patch
|
blob
|
history
diff --git
a/toys/pending/fdisk.c
b/toys/pending/fdisk.c
index
d000c05
..
08cfa71
100644
(file)
--- a/
toys/pending/fdisk.c
+++ b/
toys/pending/fdisk.c
@@
-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');