git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update all uses of ABS_PATH
[libguestfs.git]
/
daemon
/
initrd.c
diff --git
a/daemon/initrd.c
b/daemon/initrd.c
index
59749bb
..
e703481
100644
(file)
--- a/
daemon/initrd.c
+++ b/
daemon/initrd.c
@@
-38,7
+38,7
@@
do_initrd_list (char *path)
size_t len;
NEED_ROOT (NULL);
- ABS_PATH (path, NULL);
+ ABS_PATH (path,
return
NULL);
/* "zcat /sysroot/<path> | cpio --quiet -it", but path must be quoted. */
if (asprintf_nowarn (&cmd, "zcat %R | cpio --quiet -it", path) == -1) {