* src/generator.ml: Change all `String "device"' to `Device "device"'.
[libguestfs.git] / daemon / grub.c
index 86e812e..0a49c45 100644 (file)
@@ -33,8 +33,7 @@ do_grub_install (char *root, char *device)
   char *buf;
 
   NEED_ROOT (-1);
-  ABS_PATH (root, -1);
-  IS_DEVICE (device, -1);
+  ABS_PATH (root, return -1);
 
   if (asprintf_nowarn (&buf, "--root-directory=%R", root) == -1) {
     reply_with_perror ("asprintf");