New API: available-all-groups to return list of all optional groups.
[libguestfs.git] / daemon / blkid.c
index 4e14881..dcfac65 100644 (file)
@@ -34,9 +34,9 @@ do_vfs_type (const char *device)
   int r;
 
   r = command (&out, &err,
-               "/sbin/blkid", "-o", "value", "-s", "TYPE", device, NULL);
+               "blkid", "-o", "value", "-s", "TYPE", device, NULL);
   if (r == -1) {
-    reply_with_error ("vfs_type: %s: %s", device, err);
+    reply_with_error ("%s: %s", device, err);
     free (out);
     free (err);
     return NULL;