aboutsummaryrefslogtreecommitdiff
path: root/src/nix/dump-path.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/dump-path.cc')
-rw-r--r--src/nix/dump-path.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/dump-path.cc b/src/nix/dump-path.cc
index 99ff05dcc..b07c76136 100644
--- a/src/nix/dump-path.cc
+++ b/src/nix/dump-path.cc
@@ -58,7 +58,7 @@ struct CmdDumpPath2 : Command
{
logger->pause();
FdSink sink(STDOUT_FILENO);
- dumpPath(path, sink);
+ sink << dumpPath(path);
sink.flush();
}
};