change almost all uses: s/IS_DEVICE/RESOLVE_DEVICE/
[libguestfs.git] / daemon / zero.c
index 9c803d8..ba87e68 100644 (file)
@@ -33,7 +33,7 @@ do_zero (char *device)
   int fd, i;
   char buf[4096];
 
   int fd, i;
   char buf[4096];
 
-  IS_DEVICE (device, -1);
+  RESOLVE_DEVICE (device, return -1);
 
   fd = open (device, O_WRONLY);
   if (fd == -1) {
 
   fd = open (device, O_WRONLY);
   if (fd == -1) {