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:
parent
57ca339bf4
commit
ec68ca2202
2
utils.c
2
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);
|
||||
|
|
Loading…
Reference in New Issue