aboutsummaryrefslogtreecommitdiff
path: root/libXaw/src/AsciiSrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXaw/src/AsciiSrc.c')
-rw-r--r--libXaw/src/AsciiSrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libXaw/src/AsciiSrc.c b/libXaw/src/AsciiSrc.c
index a37b6a1ff..bf2c42bc3 100644
--- a/libXaw/src/AsciiSrc.c
+++ b/libXaw/src/AsciiSrc.c
@@ -1486,7 +1486,7 @@ InitStringOrFile(AsciiSrcObject src, Bool newString)
if (!src->ascii_src.is_tempfile) {
if ((fd = open(src->ascii_src.string, open_mode, 0666)) != -1) {
- if ((file = fdopen(fd, fdopen_mode))) {
+ if ((file = _fdopen(fd, fdopen_mode))) {
(void)fseek(file, 0, SEEK_END);
src->ascii_src.length = (XawTextPosition)ftell(file);
return (file);