diff options
Diffstat (limited to 'src/basic/fileio.c')
-rw-r--r-- | src/basic/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/fileio.c b/src/basic/fileio.c index 4c200f8393..11972a6213 100644 --- a/src/basic/fileio.c +++ b/src/basic/fileio.c @@ -156,7 +156,7 @@ int write_string_file_ts( goto fail; } - f = fdopen(fd, "we"); + f = fdopen(fd, "w"); if (!f) { r = -errno; safe_close(fd); |