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