aboutsummaryrefslogtreecommitdiff
path: root/src/nix/log.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-03-02 15:02:24 +0100
committerEelco Dolstra <edolstra@gmail.com>2023-03-02 15:02:24 +0100
commitb69a73a2305aaee2a4da73da601dbde3f1ddd7a6 (patch)
tree4f9b64ba19120271c2ef1e2ecc3b104beb36770a /src/nix/log.cc
parent09f5975c6a0d8706b22f15e4c5998018e56484ae (diff)
Get rid of some unchecked calls to std::cout
Diffstat (limited to 'src/nix/log.cc')
-rw-r--r--src/nix/log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/log.cc b/src/nix/log.cc
index a0598ca13..0c9f778f0 100644
--- a/src/nix/log.cc
+++ b/src/nix/log.cc
@@ -53,7 +53,7 @@ struct CmdLog : InstallableCommand
if (!log) continue;
stopProgressBar();
printInfo("got build log for '%s' from '%s'", installable->what(), logSub.getUri());
- std::cout << *log;
+ writeFull(STDOUT_FILENO, *log);
return;
}