appliance: Set $PATH instead of hard-coding paths to binaries everywhere.
[libguestfs.git] / daemon / blockdev.c
index 95e5246..3df1807 100644 (file)
@@ -38,7 +38,7 @@ call_blockdev (const char *device, const char *switc, int extraarg, int prints)
   int64_t rv;
   char *out, *err;
   const char *argv[] = {
-    "/sbin/blockdev",
+    "blockdev",
     switc,
     NULL,
     NULL,