[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH] daemon: print parameters for vgchange in error messages



---
 daemon/lvm-filter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daemon/lvm-filter.c b/daemon/lvm-filter.c
index ed10a48..6976bab 100644
--- a/daemon/lvm-filter.c
+++ b/daemon/lvm-filter.c
@@ -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;
   }
 
-- 
1.9.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]