perror correction

This commit is contained in:
"Vladimir N. Oleynik" 2005-10-12 16:45:21 +00:00
parent d20cfbd303
commit 368f66492e
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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)) {