On Thu, Aug 30, Olaf Hering wrote:
+++ b/daemon/lvm-filter.c
@@ -31,6 +31,11 @@
#include "daemon.h"
#include "actions.h"
+GUESTFSD_EXT_CMD(str_lvm, lvm);
+GUESTFSD_EXT_CMD(str_vgchange, vgchange);
@@ -189,7 +194,7 @@ static int
vgchange (const char *vgchange_flag)
{
char *err;
- int r = command (NULL, &err, "lvm", "vgchange", vgchange_flag,
NULL);
+ int r = command (NULL, &err, str_lvm, str_vgchange, vgchange_flag, NULL);
I noticed this str_vgchange is not needed.
Olaf