git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bda071
)
fix daemon.h's use of NEED_ROOT-in-#define
author
Jim Meyering
<meyering@redhat.com>
Mon, 10 Aug 2009 21:15:25 +0000
(23:15 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Thu, 13 Aug 2009 12:45:34 +0000
(14:45 +0200)
daemon/daemon.h
patch
|
blob
|
history
diff --git
a/daemon/daemon.h
b/daemon/daemon.h
index
ee71fb6
..
cbcab63
100644
(file)
--- a/
daemon/daemon.h
+++ b/
daemon/daemon.h
@@
-176,7
+176,7
@@
extern void reply (xdrproc_t xdrp, char *ret);
if (strncmp ((path), "/dev/", 5) == 0) \
RESOLVE_DEVICE ((path), fail_stmt); \
else { \
- NEED_ROOT (
return fail_stmt);
\
+ NEED_ROOT (
fail_stmt);
\
ABS_PATH ((path),fail_stmt); \
} \
} while (0)