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>
This commit is contained in:
Anand Jain 2013-03-01 18:10:01 +08:00 committed by David Sterba
parent 57ca339bf4
commit ec68ca2202
1 changed files with 1 additions and 1 deletions

View File

@ -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);