git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s/NEED_ROOT_OR_IS_DEVICE/REQUIRE_ROOT_OR_RESOLVE_DEVICE/
[libguestfs.git]
/
daemon
/
daemon.h
diff --git
a/daemon/daemon.h
b/daemon/daemon.h
index
8bc6344
..
cbcab63
100644
(file)
--- a/
daemon/daemon.h
+++ b/
daemon/daemon.h
@@
-171,7
+171,7
@@
extern void reply (xdrproc_t xdrp, char *ret);
* because we intend in future to make device parameters a distinct
* type from filenames.
*/
* because we intend in future to make device parameters a distinct
* type from filenames.
*/
-#define
NEED_ROOT_OR_IS_DEVICE(path,fail_stmt)
\
+#define
REQUIRE_ROOT_OR_RESOLVE_DEVICE(path,fail_stmt)
\
do { \
if (strncmp ((path), "/dev/", 5) == 0) \
RESOLVE_DEVICE ((path), fail_stmt); \
do { \
if (strncmp ((path), "/dev/", 5) == 0) \
RESOLVE_DEVICE ((path), fail_stmt); \