summaryrefslogtreecommitdiff
path: root/lib/Output.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Output.cc')
-rw-r--r--lib/Output.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Output.cc b/lib/Output.cc
index deecfb0..e0a37ba 100644
--- a/lib/Output.cc
+++ b/lib/Output.cc
@@ -9,7 +9,7 @@
#include "Exceptions.h"
#include "config.h"
-Output::Output(String no, int trunc = 1) throw (GeneralException) :
+Output::Output(String no, int trunc) throw (GeneralException) :
Handle(no.strlen() ? open(no.to_charp(), O_WRONLY | O_CREAT | (trunc ? O_TRUNC : O_APPEND), 00666) : dup(1)),
n(no) {
if (GetHandle() < 0) {