update all NEED_ROOT uses
[libguestfs.git] / daemon / hexdump.c
index e2d8300..faf3dc5 100644 (file)
@@ -32,8 +32,8 @@ do_hexdump (char *path)
   int r;
   char *out, *err;
 
-  NEED_ROOT (NULL);
-  ABS_PATH (path, NULL);
+  NEED_ROOT (return NULL);
+  ABS_PATH (path, return NULL);
 
   buf = sysroot_path (path);
   if (!buf) {