From: Jim Meyering <meyering(a)redhat.com>
* daemon/file.c (do_cat): fix an ABS_PATH use
---
daemon/file.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/daemon/file.c b/daemon/file.c
index e185132..9cc324f 100644
--- a/daemon/file.c
+++ b/daemon/file.c
@@ -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);
--
1.6.4.337.g5420e