mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-11-24 12:19:49 +00:00
- fix invalid mode
This commit is contained in:
parent
e2e56c7c41
commit
a85a63f6ee
@ -210,7 +210,7 @@ static void data_readlines(void)
|
||||
char current_line[256];
|
||||
FILE *fp;
|
||||
|
||||
fp = (inp_stdin) ? stdin : bb_xfopen(filename, "rt");
|
||||
fp = (inp_stdin) ? stdin : bb_xfopen(filename, "r");
|
||||
flines = NULL;
|
||||
for (i = 0; (feof(fp)==0) && (i <= MAXLINES); i++) {
|
||||
strcpy(current_line, "");
|
||||
|
Loading…
Reference in New Issue
Block a user