fsck cleanups.
authorAndre Noll <maan@systemlinux.org>
Thu, 5 Jun 2008 22:32:52 +0000 (00:32 +0200)
committerAndre Noll <maan@systemlinux.org>
Thu, 5 Jun 2008 22:32:52 +0000 (00:32 +0200)
fsck.c

diff --git a/fsck.c b/fsck.c
index 8e215e5e06bc61c4186c06e7e426a6e8a2fdefa4..1eb850bc6ffea78f68cf92fe99be4c5de3415c09 100644 (file)
--- a/fsck.c
+++ b/fsck.c
@@ -6,10 +6,6 @@
 
 /** \file fsck.c The program used to check an osl table. */
 
 
 /** \file fsck.c The program used to check an osl table. */
 
-/* FIXME: check error codes of make_message or write wrapper  */
-
-
-
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <dirent.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <dirent.h>
@@ -1187,11 +1183,7 @@ int main(int argc, char **argv)
        }
 out:
        if (ret < 0) {
        }
 out:
        if (ret < 0) {
-               ERROR_LOG("%s%s: %s\n",
-                       base_dir? "base_dir: " : "",
-                       base_dir? base_dir : "",
-                       fsck_strerror(-ret)
-               );
+               ERROR_LOG("%s\n", fsck_strerror(-ret));
                if (conf.loglevel_arg > 1)
                        EMERG_LOG("re-run with \"--loglevel %d\" to increase verbosity\n",
                                conf.loglevel_arg - 1);
                if (conf.loglevel_arg > 1)
                        EMERG_LOG("re-run with \"--loglevel %d\" to increase verbosity\n",
                                conf.loglevel_arg - 1);