diff options
author | Anand Jain <anand.jain@oracle.com> | 2013-03-01 18:10:01 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-03-03 17:34:33 +0100 |
commit | ec68ca22023dbfa7ca83ea0b878e840e500dff73 (patch) | |
tree | 902a161e78971b8dc90d940fc00ba1313d97be7f | |
parent | 57ca339bf449364c80b0e045dc79c5f88446d682 (diff) |
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 <anand.jain@oracle.com>
-rw-r--r-- | utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |