summaryrefslogtreecommitdiffstats
path: root/daemon/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/mount.c')
-rw-r--r--daemon/mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/mount.c b/daemon/mount.c
index 9754ca9a..6c30304e 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -48,7 +48,7 @@ do_mount_vfs (char *options, char *vfstype,
char *mp;
char *error;
- IS_DEVICE (device, -1);
+ RESOLVE_DEVICE (device, return -1);
is_root = strcmp (mountpoint, "/") == 0;
@@ -113,7 +113,7 @@ do_umount (char *pathordevice)
if (strncmp (pathordevice, "/dev/", 5) == 0) {
buf = pathordevice;
- IS_DEVICE (buf, -1);
+ RESOLVE_DEVICE (buf, return -1);
} else {
buf = sysroot_path (pathordevice);
if (buf == NULL) {