update all NEED_ROOT uses
[libguestfs.git] / daemon / strings.c
index c0e073f..e5aefca 100644 (file)
@@ -33,8 +33,8 @@ do_strings_e (char *encoding, char *path)
   char *out, *err;
   char **lines;
 
-  NEED_ROOT (NULL);
-  ABS_PATH (path, NULL);
+  NEED_ROOT (return NULL);
+  ABS_PATH (path, return NULL);
 
   buf = sysroot_path (path);
   if (!buf) {