convert the last few, manually
[libguestfs.git] / daemon / daemon.h
index 166f3bf..bebc86f 100644 (file)
@@ -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)                             \
 #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));                                     \
     else {                                                             \
       NEED_ROOT ((errcode));                                           \
       ABS_PATH ((path),(errcode));                                     \