mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-11-28 22:20:28 +00:00
perror correction
This commit is contained in:
parent
d20cfbd303
commit
368f66492e
@ -33,7 +33,6 @@ typedef long errcode_t;
|
||||
/* misc crap */
|
||||
#define fatal_error(err, msg) bb_error_msg_and_die(msg)
|
||||
#define usage() bb_show_usage()
|
||||
#define perror(msg) bb_perror_msg(msg)
|
||||
|
||||
/* header defines */
|
||||
#define ENABLE_HTREE 1
|
||||
|
@ -485,7 +485,7 @@ static void load_fs_info(const char *filename)
|
||||
struct fs_info *fs;
|
||||
|
||||
if ((f = fopen(filename, "r")) == NULL) {
|
||||
bb_perror_msg("WARNING: couldn't open %s: %m", filename);
|
||||
bb_perror_msg("WARNING: couldn't open %s", filename);
|
||||
return;
|
||||
}
|
||||
while (!feof(f)) {
|
||||
|
Loading…
Reference in New Issue
Block a user