aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/utility.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/utility.cxx')
-rw-r--r--libbuild2/utility.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/utility.cxx b/libbuild2/utility.cxx
index faffd66..3b4b94f 100644
--- a/libbuild2/utility.cxx
+++ b/libbuild2/utility.cxx
@@ -327,11 +327,11 @@ namespace build2
}
auto_fd
- open_dev_null ()
+ open_null ()
{
try
{
- return fdnull ();
+ return fdopen_null ();
}
catch (const io_error& e)
{