X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Fblkid.c;h=dcfac65def4ffd7373699da54168c9217e31ddee;hp=4e14881f1c757854670b7fd6665de33ff7a4f728;hb=1bd1f9b85f45275b1600d148530bc1877ff15213;hpb=d609130cb65fe7795b168a796426e39d64ceda97 diff --git a/daemon/blkid.c b/daemon/blkid.c index 4e14881..dcfac65 100644 --- a/daemon/blkid.c +++ b/daemon/blkid.c @@ -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;