From ec68ca22023dbfa7ca83ea0b878e840e500dff73 Mon Sep 17 00:00:00 2001 From: Anand Jain Date: Fri, 1 Mar 2013 18:10:01 +0800 Subject: [PATCH] btrfs-progs: from troubleshooting point of view messages must be unique ----- cmds-device.c: fprintf(stderr, "ERROR: unable to scan the device '%s' - %s\n", utils.c: fprintf(stderr, "ERROR: unable to scan the device '%s' - %s\n", ----- Signed-off-by: Anand Jain --- utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.c b/utils.c index 1813ddae..71da7879 100644 --- a/utils.c +++ b/utils.c @@ -945,7 +945,7 @@ void btrfs_register_one_device(char *fname) ret = ioctl(fd, BTRFS_IOC_SCAN_DEV, &args); e = errno; if(ret<0){ - fprintf(stderr, "ERROR: unable to scan the device '%s' - %s\n", + fprintf(stderr, "ERROR: device scan failed '%s' - %s\n", fname, strerror(e)); } close(fd);