* src/generator.ml: Change all `String "device"' to `Device "device"'.
[libguestfs.git] / daemon / zerofree.c
index 27ef692..457f8db 100644 (file)
@@ -33,8 +33,6 @@ do_zerofree (char *device)
   char *err;
   int r;
 
   char *err;
   int r;
 
-  RESOLVE_DEVICE (device, return -1);
-
   r = command (NULL, &err, "/usr/sbin/zerofree", device, NULL);
   if (r == -1) {
     reply_with_error ("zerofree: %s: %s", device, err);
   r = command (NULL, &err, "/usr/sbin/zerofree", device, NULL);
   if (r == -1) {
     reply_with_error ("zerofree: %s: %s", device, err);