summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/log.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-01-02 23:40:00 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-01-02 23:40:00 +0000
commitb6f5856600d9d6cbdde2189872a6b6dce69fe407 (patch)
tree3155ef0abe623075c2baa4547246d42251f25519 /mdk-stage1/log.c
parent9302affdabc003d034c338a6ed3ef266df93ade5 (diff)
downloaddrakx-b6f5856600d9d6cbdde2189872a6b6dce69fe407.tar
drakx-b6f5856600d9d6cbdde2189872a6b6dce69fe407.tar.gz
drakx-b6f5856600d9d6cbdde2189872a6b6dce69fe407.tar.bz2
drakx-b6f5856600d9d6cbdde2189872a6b6dce69fe407.tar.xz
drakx-b6f5856600d9d6cbdde2189872a6b6dce69fe407.zip
support load of modules with parameters when insmod failed without parameter and user asks for it
Diffstat (limited to 'mdk-stage1/log.c')
-rw-r--r--mdk-stage1/log.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/mdk-stage1/log.c b/mdk-stage1/log.c
index d4a1c71c7..5379c96dd 100644
--- a/mdk-stage1/log.c
+++ b/mdk-stage1/log.c
@@ -33,15 +33,11 @@
static FILE * logfile = NULL;
-void vlog_message_nobs(const char * s, va_list args)
-{
- fprintf(logfile, "* ");
- vfprintf(logfile, s, args);
-}
void vlog_message(const char * s, va_list args)
{
- vlog_message_nobs(s, args);
+ fprintf(logfile, "* ");
+ vfprintf(logfile, s, args);
fprintf(logfile, "\n");
fflush(logfile);
}