manually adjust ABS_PATH uses for new semantics
authorJim Meyering <meyering@redhat.com>
Mon, 10 Aug 2009 21:13:31 +0000 (23:13 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 13 Aug 2009 12:45:34 +0000 (14:45 +0200)
* daemon/file.c (do_cat): fix an ABS_PATH use

daemon/file.c

index e185132..9cc324f 100644 (file)
@@ -74,7 +74,7 @@ do_cat (char *path)
   char *buf, *buf2;
 
   NEED_ROOT (NULL);
-  ABS_PATH (path,NULL);
+  ABS_PATH (path, return NULL);
 
   CHROOT_IN;
   fd = open (path, O_RDONLY);