From: Lennart Poettering Date: Mon, 7 Sep 2015 23:22:26 +0000 (+0200) Subject: nspawn: short reads do not set errno, hence don't try to print it X-Git-Tag: v226~6^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=76d448820e9e6b11dbdc5778802bda6f998212b4;p=thirdparty%2Fsystemd.git nspawn: short reads do not set errno, hence don't try to print it --- diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 9517e412024..ad383e876cc 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; }