summaryrefslogtreecommitdiff
path: root/ext2fs/msg.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-09-23 17:38:56 +0000
committerMiles Bader <miles@gnu.org>1996-09-23 17:38:56 +0000
commit9f16e5beb1783685c1aa9d97cf6ac651efde6609 (patch)
tree82f865da99fc823e32f064e2f45955d66008a7d8 /ext2fs/msg.c
parent66c846adbaafdc243581c8d276c6a931b124cc2d (diff)
.
Diffstat (limited to 'ext2fs/msg.c')
-rw-r--r--ext2fs/msg.c7
1 files changed, 3 insertions, 4 deletions
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);
}