summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext2fs/msg.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext2fs/msg.c b/ext2fs/msg.c
index 4cc55a97..ba295070 100644
--- a/ext2fs/msg.c
+++ b/ext2fs/msg.c
@@ -73,7 +73,7 @@ void _ext2_panic (const char * function, const char * fmt, ...)
exit (1);
}
-void _ext2_warning (const char * function, const char * fmt, ...)
+void ext2_warning (const char * fmt, ...)
{
va_list args;
@@ -83,8 +83,7 @@ void _ext2_warning (const char * function, const char * fmt, ...)
vsprintf (error_buf, fmt, args);
va_end (args);
- fprintf (stderr, "ext2fs: %s: warning: %s: %s\n",
- diskfs_device_arg, function, error_buf);
+ fprintf (stderr, "ext2fs: %s: warning: %s\n", diskfs_device_arg, error_buf);
mutex_unlock(&printf_lock);
}