diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e7a574be5f0..57c4cdf4d78 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-06-09 Gary Benson + + * common/fileio.c (fileio_mode_pack): Fix preprocessor + conditional. + 2015-06-05 Gary Benson * gdb_bfd.c (gdb_bfd_open): Move vgdb special case to... diff --git a/gdb/common/fileio.c b/gdb/common/fileio.c index 28335ecf3c8..ef00ea871e7 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