From: Jim Meyering Date: Mon, 10 Aug 2009 21:13:31 +0000 (+0200) Subject: manually adjust ABS_PATH uses for new semantics X-Git-Tag: 1.0.67~29 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=302c18e7d095755ab1bcd0b79fd8952e2450ac7a;p=libguestfs.git manually adjust ABS_PATH uses for new semantics * daemon/file.c (do_cat): fix an ABS_PATH use --- 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);