daemon: print parameters for vgchange in error messages

This commit is contained in:
Pino Toscano
2014-06-10 15:18:36 +02:00
committed by Richard W.M. Jones
parent 134ac97d22
commit 45db96b00d

View File

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