update all uses of ABS_PATH
[libguestfs.git] / daemon / checksum.c
index bd71182..d12413f 100644 (file)
@@ -37,7 +37,7 @@ do_checksum (char *csumtype, char *path)
   int len;
 
   NEED_ROOT (NULL);
-  ABS_PATH (path, NULL);
+  ABS_PATH (path, return NULL);
 
   if (strcasecmp (csumtype, "crc") == 0)
     program = "cksum";