summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-02-06 22:33:14 +0000
committerMiles Bader <miles@gnu.org>1996-02-06 22:33:14 +0000
commitb24afc85952765b046d648b0efd33eba0c2b5a7e (patch)
treef1f6acc35df4d3de6e75fde56dfee025b11588ba
parent096e04d860668366756f202e5a95346020e1376f (diff)
(ext2_warning): Rename from _ext2_warning; don't take (or print) a function
argument any more.
-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);
}