]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: short reads do not set errno, hence don't try to print it
authorLennart Poettering <lennart@poettering.net>
Mon, 7 Sep 2015 23:22:26 +0000 (01:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 7 Sep 2015 23:22:26 +0000 (01:22 +0200)
src/nspawn/nspawn.c

index 9517e41202451d56e04bb71a6402341904b2275f..ad383e876cc29275a7f70f3baf00b0d56ee1fe64 100644 (file)
@@ -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;
                         }