git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
convert the last few, manually
[libguestfs.git]
/
daemon
/
daemon.h
diff --git
a/daemon/daemon.h
b/daemon/daemon.h
index
166f3bf
..
bebc86f
100644
(file)
--- a/
daemon/daemon.h
+++ b/
daemon/daemon.h
@@
-174,7
+174,7
@@
extern void reply (xdrproc_t xdrp, char *ret);
#define NEED_ROOT_OR_IS_DEVICE(path,errcode) \
do { \
if (strncmp ((path), "/dev/", 5) == 0) \
-
IS_DEVICE ((path),(errcode));
\
+
RESOLVE_DEVICE ((path), return errcode);
\
else { \
NEED_ROOT ((errcode)); \
ABS_PATH ((path),(errcode)); \