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