diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-03-02 15:02:24 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2023-03-02 15:02:24 +0100 |
commit | b69a73a2305aaee2a4da73da601dbde3f1ddd7a6 (patch) | |
tree | 4f9b64ba19120271c2ef1e2ecc3b104beb36770a /src/nix/prefetch.cc | |
parent | 09f5975c6a0d8706b22f15e4c5998018e56484ae (diff) |
Get rid of some unchecked calls to std::cout
Diffstat (limited to 'src/nix/prefetch.cc')
-rw-r--r-- | src/nix/prefetch.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/prefetch.cc b/src/nix/prefetch.cc index fc3823406..51c8a3319 100644 --- a/src/nix/prefetch.cc +++ b/src/nix/prefetch.cc @@ -234,9 +234,9 @@ static int main_nix_prefetch_url(int argc, char * * argv) if (!printPath) printInfo("path is '%s'", store->printStorePath(storePath)); - std::cout << printHash16or32(hash) << std::endl; + logger->cout(printHash16or32(hash)); if (printPath) - std::cout << store->printStorePath(storePath) << std::endl; + logger->cout(store->printStorePath(storePath)); return 0; } |