aboutsummaryrefslogtreecommitdiff
path: root/tests/fdstream
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fdstream')
-rw-r--r--tests/fdstream/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fdstream/driver.cxx b/tests/fdstream/driver.cxx
index c5a35d4..e5ab98b 100644
--- a/tests/fdstream/driver.cxx
+++ b/tests/fdstream/driver.cxx
@@ -416,7 +416,7 @@ main (int argc, const char* argv[])
// program.
//
{
- ofdstream ofs (f, fdopen_mode::out, ofdstream::badbit);
+ ofdstream ofs (f, ofdstream::badbit);
ofs.clear (ofdstream::failbit);
}