mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
daemon: print parameters for vgchange in error messages
This commit is contained in:
committed by
Richard W.M. Jones
parent
134ac97d22
commit
45db96b00d
@@ -200,7 +200,7 @@ vgchange (const char *vgchange_flag)
|
||||
CLEANUP_FREE char *err = NULL;
|
||||
int r = command (NULL, &err, str_lvm, "vgchange", vgchange_flag, NULL);
|
||||
if (r == -1) {
|
||||
reply_with_error ("vgchange: %s", err);
|
||||
reply_with_error ("vgchange %s: %s", vgchange_flag, err);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user