summaryrefslogtreecommitdiff
path: root/src/nspawn/nspawn.c
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2014-05-24 00:10:36 -0400
committerLennart Poettering <lennart@poettering.net>2014-05-25 11:18:28 +0800
commit590b6b9188e75ba46c42995984a1c2fa06adb6d6 (patch)
tree4d8b40bf0d4a8502940e21d5347133bdf231b309 /src/nspawn/nspawn.c
parent552c693eea399e8e32ffb8c9302aaffeb520427d (diff)
Use %m instead of strerror(errno) where appropiate
Diffstat (limited to 'src/nspawn/nspawn.c')
-rw-r--r--src/nspawn/nspawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index eb9c5e0d6c..73158a0518 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -657,7 +657,7 @@ static int mount_binds(const char *dest, char **l, unsigned long flags) {
return r;
}
} else {
- log_error("Failed to bind mount %s: %s", *x, strerror(errno));
+ log_error("Failed to bind mount %s: %m", *x);
return -errno;
}
/* Create the mount point, but be conservative -- refuse to create block