X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fmount-setup.c;h=c601c9742c7d3fd249a54d59093b01f075c61c2a;hb=8b264404b6cc412d3a588ca1b54fd2c1b09c5270;hp=73c2698ea3f4b946fb161d35e1217758ba460b03;hpb=8552b17660033812080a11533bd0edce74401039;p=elogind.git diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c index 73c2698ea..c601c9742 100644 --- a/src/core/mount-setup.c +++ b/src/core/mount-setup.c @@ -188,7 +188,7 @@ static int mount_one(const MountPoint *p, bool relabel) { p->type, p->flags, p->options) < 0) { - log_full((p->mode & MNT_FATAL) ? LOG_ERR : LOG_DEBUG, "Failed to mount %s: %s", p->where, strerror(errno)); + log_full((p->mode & MNT_FATAL) ? LOG_ERR : LOG_DEBUG, "Failed to mount %s: %m", p->where); return (p->mode & MNT_FATAL) ? -errno : 0; }