perror correction
This commit is contained in:
parent
d20cfbd303
commit
368f66492e
@ -33,7 +33,6 @@ typedef long errcode_t;
|
|||||||
/* misc crap */
|
/* misc crap */
|
||||||
#define fatal_error(err, msg) bb_error_msg_and_die(msg)
|
#define fatal_error(err, msg) bb_error_msg_and_die(msg)
|
||||||
#define usage() bb_show_usage()
|
#define usage() bb_show_usage()
|
||||||
#define perror(msg) bb_perror_msg(msg)
|
|
||||||
|
|
||||||
/* header defines */
|
/* header defines */
|
||||||
#define ENABLE_HTREE 1
|
#define ENABLE_HTREE 1
|
||||||
|
@ -485,7 +485,7 @@ static void load_fs_info(const char *filename)
|
|||||||
struct fs_info *fs;
|
struct fs_info *fs;
|
||||||
|
|
||||||
if ((f = fopen(filename, "r")) == NULL) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
while (!feof(f)) {
|
while (!feof(f)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user