X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fmount-setup.c;fp=src%2Fcore%2Fmount-setup.c;h=7dfaf27df773f408b95c8ed41eb02be877965cf6;hb=2f30582bd3d00ce582d190ddb379e46e0a67f813;hp=c551fa62b2838e066081815c701e27d85cefb15e;hpb=084937b3d7c4da3e3c48d05779f8cfbdc39a2ce6;p=elogind.git diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c index c551fa62b..7dfaf27df 100644 --- a/src/core/mount-setup.c +++ b/src/core/mount-setup.c @@ -174,7 +174,7 @@ static int mount_one(const MountPoint *p, bool relabel) { if (relabel) (void) label_fix(p->where, true, true); - r = path_is_mount_point(p->where, AT_SYMLINK_FOLLOW); + r = path_is_mount_point(p->where, NULL, AT_SYMLINK_FOLLOW); if (r < 0 && r != -ENOENT) { log_full_errno((p->mode & MNT_FATAL) ? LOG_ERR : LOG_DEBUG, r, "Failed to determine whether %s is a mount point: %m", p->where); return (p->mode & MNT_FATAL) ? r : 0;