guestfsd.c: correct s/IS_DEVICE/RESOLVE_DEVICE/ in another comment
[libguestfs.git] / daemon / grep.c
index c51dc0b..19e4683 100644 (file)
@@ -36,7 +36,7 @@ grep (const char *prog, const char *flag, char *regex, char *path)
   char **lines;
 
   NEED_ROOT (NULL);
-  ABS_PATH (path, NULL);
+  ABS_PATH (path, return NULL);
 
   /* Make the path relative to /sysroot. */
   buf = sysroot_path (path);