X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fdaemon.h;h=cbcab639621700413278c2b7eae495023ff69d04;hb=fc266e5ab8c4f013d0e473029c5e0b4cd32cca92;hp=8bc63449159c98207ce23fef34bfcbd658458007;hpb=ecd828beb250648541492a69a188a71305897e4e;p=libguestfs.git diff --git a/daemon/daemon.h b/daemon/daemon.h index 8bc6344..cbcab63 100644 --- 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. */ -#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); \