From: Anand Jain Date: Fri, 1 Mar 2013 10:10:01 +0000 (+0800) Subject: btrfs-progs: from troubleshooting point of view messages must be unique X-Git-Tag: upstream/4.16.1~3407 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec68ca22023dbfa7ca83ea0b878e840e500dff73;p=platform%2Fupstream%2Fbtrfs-progs.git 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 --- diff --git a/utils.c b/utils.c index 1813dda..71da787 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);