summaryrefslogtreecommitdiff
path: root/utils/cc/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/cc/lex.c')
-rw-r--r--utils/cc/lex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/cc/lex.c b/utils/cc/lex.c
index 8e96b7bb..8ba5af5a 100644
--- a/utils/cc/lex.c
+++ b/utils/cc/lex.c
@@ -203,8 +203,8 @@ compile(char *file, char **defs, int ndef)
if((debug['a'] || debug['Z']) && !debug['n']) {
if (first) {
outfile = 0;
- Binit(&outbuf, dup(1, -1), OWRITE);
- dup(2, 1);
+ Binit(&outbuf, mydup(1, -1), OWRITE);
+ mydup(2, 1);
}
} else {
c = mycreat(outfile, 0664);