update all uses of ABS_PATH
[libguestfs.git] / daemon / headtail.c
index af2648c..bdd0f49 100644 (file)
@@ -36,7 +36,7 @@ headtail (const char *prog, const char *flag, const char *n, 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);