about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--posix/bug-regex31.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f827c3abf6..8ee0650df7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-11-25  Joseph Myers  <joseph@codesourcery.com>
+
+	* posix/bug-regex31.c (main): Return RES not 0.
+
 2014-11-25  Anton Blanchard <anton@samba.org>
 
 	* sysdeps/powerpc/bits/atomic.h
diff --git a/posix/bug-regex31.c b/posix/bug-regex31.c
index fc485815fc..fd7e0c57ca 100644
--- a/posix/bug-regex31.c
+++ b/posix/bug-regex31.c
@@ -33,5 +33,5 @@ main (void)
 
   free (buf);
 
-  return 0;
+  return res;
 }