summaryrefslogtreecommitdiff
path: root/src/nspawn
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-08 01:22:26 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-08 01:22:26 +0200
commit76d448820e9e6b11dbdc5778802bda6f998212b4 (patch)
treebd51cc6dda0219898218ec5417d1481e7910bb0e /src/nspawn
parent4610de5022f4af31dbe86d244c272426dffd9fd8 (diff)
nspawn: short reads do not set errno, hence don't try to print it
Diffstat (limited to 'src/nspawn')
-rw-r--r--src/nspawn/nspawn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 9517e41202..ad383e876c 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -3377,7 +3377,7 @@ int main(int argc, char *argv[]) {
goto finish;
}
if (l != sizeof(pid)) {
- log_error("Short read while reading inner child PID: %m");
+ log_error("Short read while reading inner child PID.");
r = EIO;
goto finish;
}
@@ -3397,7 +3397,7 @@ int main(int argc, char *argv[]) {
goto finish;
}
if (l != sizeof(arg_uid_shift)) {
- log_error("Short read while reading UID shift: %m");
+ log_error("Short read while reading UID shift.");
r = EIO;
goto finish;
}