diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-08 01:22:26 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-08 01:22:26 +0200 |
commit | 76d448820e9e6b11dbdc5778802bda6f998212b4 (patch) | |
tree | bd51cc6dda0219898218ec5417d1481e7910bb0e /src | |
parent | 4610de5022f4af31dbe86d244c272426dffd9fd8 (diff) |
nspawn: short reads do not set errno, hence don't try to print it
Diffstat (limited to 'src')
-rw-r--r-- | src/nspawn/nspawn.c | 4 |
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; } |