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 NEED_ROOT uses
[libguestfs.git]
/
daemon
/
hexdump.c
diff --git
a/daemon/hexdump.c
b/daemon/hexdump.c
index
e2d8300
..
faf3dc5
100644
(file)
--- a/
daemon/hexdump.c
+++ b/
daemon/hexdump.c
@@
-32,8
+32,8
@@
do_hexdump (char *path)
int r;
char *out, *err;
- NEED_ROOT (NULL);
- ABS_PATH (path, NULL);
+ NEED_ROOT (
return
NULL);
+ ABS_PATH (path,
return
NULL);
buf = sysroot_path (path);
if (!buf) {