chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use %m instead of strerror(errno) where appropiate
[elogind.git]
/
src
/
nspawn
/
nspawn.c
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index eb9c5e0d6c8a19e0aae7cca0b9dfb821ea35405d..73158a051831edf74a5db86ee8027b471a5e28c8 100644
(file)
--- 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