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