]> git.tuebingen.mpg.de Git - osl.git/commitdiff
Remove para_log() from fsck.c.
authorAndre Noll <maan@systemlinux.org>
Thu, 5 Jun 2008 22:31:01 +0000 (00:31 +0200)
committerAndre Noll <maan@systemlinux.org>
Thu, 5 Jun 2008 22:31:01 +0000 (00:31 +0200)
oslfsck may use the log function of osl.c.

fsck.c

diff --git a/fsck.c b/fsck.c
index ef068d369a879c160f2569f282777765b2497371..f325e537be8e30f23b093132effcef2e7d737879 100644 (file)
--- a/fsck.c
+++ b/fsck.c
@@ -63,16 +63,7 @@ static const char *fsck_strerror(int num)
        return osl_strerror(num);
 }
 
-__printf_2_3 void para_log(int ll, const char* fmt,...)
-{
-       va_list argp;
-
-       if (ll < conf.loglevel_arg)
-               return;
-       va_start(argp, fmt);
-       vfprintf(stderr, fmt, argp);
-       va_end(argp);
-}
+extern int loglevel;
 
 /* taken from git */
 signed char hexval_table[256] = {