From 9f16e5beb1783685c1aa9d97cf6ac651efde6609 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 23 Sep 1996 17:38:56 +0000 Subject: . --- ext2fs/msg.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ext2fs/msg.c') diff --git a/ext2fs/msg.c b/ext2fs/msg.c index ba295070..727d926d 100644 --- a/ext2fs/msg.c +++ b/ext2fs/msg.c @@ -49,8 +49,7 @@ void _ext2_error (const char * function, const char * fmt, ...) vsprintf (error_buf, fmt, args); va_end (args); - fprintf (stderr, "ext2fs: %s: %s: %s\n", - diskfs_device_arg, function, error_buf); + fprintf (stderr, "ext2fs: %s: %s: %s\n", diskfs_disk_name, function, error_buf); mutex_unlock(&printf_lock); } @@ -66,7 +65,7 @@ void _ext2_panic (const char * function, const char * fmt, ...) va_end (args); fprintf(stderr, "ext2fs: %s: panic: %s: %s\n", - diskfs_device_arg, function, error_buf); + diskfs_disk_name, function, error_buf); mutex_unlock(&printf_lock); @@ -83,7 +82,7 @@ void ext2_warning (const char * fmt, ...) vsprintf (error_buf, fmt, args); va_end (args); - fprintf (stderr, "ext2fs: %s: warning: %s\n", diskfs_device_arg, error_buf); + fprintf (stderr, "ext2fs: %s: warning: %s\n", diskfs_disk_name, error_buf); mutex_unlock(&printf_lock); } -- cgit v1.2.3