mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
Make zvol_remove_link() print a more useful error message
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
parent
d53574e568
commit
bc98d6c809
@ -3955,7 +3955,7 @@ zvol_remove_link(libzfs_handle_t *hdl, const char *dataset)
|
||||
default:
|
||||
return (zfs_standard_error_fmt(hdl, errno,
|
||||
dgettext(TEXT_DOMAIN, "cannot remove device "
|
||||
"links for '%s'"), dataset));
|
||||
"links for '%s': %s"), dataset, strerror(errno)));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user