From 368f66492e39c620eb20e11a7f347ef2e1ad6b61 Mon Sep 17 00:00:00 2001 From: "Vladimir N. Oleynik" Date: Wed, 12 Oct 2005 16:45:21 +0000 Subject: perror correction --- e2fsprogs/e2fsbb.h | 1 - e2fsprogs/fsck.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/e2fsprogs/e2fsbb.h b/e2fsprogs/e2fsbb.h index fe4241d..6a3d28c 100644 --- a/e2fsprogs/e2fsbb.h +++ b/e2fsprogs/e2fsbb.h @@ -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 diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index 36eebf2..802d7fa 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c @@ -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)) { -- cgit v1.1