aboutsummaryrefslogtreecommitdiff
path: root/tests/backtrace
diff options
context:
space:
mode:
Diffstat (limited to 'tests/backtrace')
-rw-r--r--tests/backtrace/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/backtrace/driver.cxx b/tests/backtrace/driver.cxx
index 442d1e6..d998942 100644
--- a/tests/backtrace/driver.cxx
+++ b/tests/backtrace/driver.cxx
@@ -121,7 +121,7 @@ main (int argc, const char* argv[])
// Run as a parent.
//
- auto_fd null (fdnull ());
+ auto_fd null (fdopen_null ());
process_exit pe1 (process_run (0 /* stdin */,
1 /* stdout */,
quiet ? null.get () : 2 /* stderr */,