summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/reent/signgam.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 3d33a4ca0..231f1cc0d 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-03 matthew green <mrg@redhat.com>
+
+ * libc/reent/signgam.c (__signgam): Fix error in previous.
+
2002-02-02 matthew green <mrg@redhat.com>
* libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
diff --git a/newlib/libc/reent/signgam.c b/newlib/libc/reent/signgam.c
index d3c17c9e5..41d955d3a 100644
--- a/newlib/libc/reent/signgam.c
+++ b/newlib/libc/reent/signgam.c
@@ -10,7 +10,7 @@
int *
__signgam ()
{
- return _REENT_SIGNGAM(_REENT);
+ return &_REENT_SIGNGAM(_REENT);
}
#endif