aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/common/fileio.c')
-rw-r--r--gdb/common/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/common/fileio.c b/gdb/common/fileio.c
index 28335ec..ef00ea8 100644
--- a/gdb/common/fileio.c
+++ b/gdb/common/fileio.c
@@ -132,7 +132,7 @@ fileio_mode_pack (mode_t mode)
if (mode & S_IRGRP)
tmode |= FILEIO_S_IRGRP;
#endif
-#ifdef S_IWRGRP
+#ifdef S_IWGRP
if (mode & S_IWGRP)
tmode |= FILEIO_S_IWGRP;
#endif