chiark / gitweb /
Use %m instead of strerror(errno) where appropiate
[elogind.git] / src / nspawn / nspawn.c
index eb9c5e0d6c8a19e0aae7cca0b9dfb821ea35405d..73158a051831edf74a5db86ee8027b471a5e28c8 100644 (file)
@@ -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