projects
/
osl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a88534c
)
Remove para_log() from fsck.c.
author
Andre Noll
<maan@systemlinux.org>
Thu, 5 Jun 2008 22:31:01 +0000
(
00:31
+0200)
committer
Andre 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
patch
|
blob
|
history
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);
}
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] = {
/* taken from git */
signed char hexval_table[256] = {