about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--rt/tst-aio7.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 34780aebc0..41bac3436c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-03-08  Ulrich Drepper  <drepper@redhat.com>
+
+	* rt/tst-aio7.c (do_test): Change BYTES into a #define.
+
 2003-03-07  Ulrich Drepper  <drepper@redhat.com>
 
 	* rt/tst-aio7.c (do_test): Give buff permanent extend, too.
diff --git a/rt/tst-aio7.c b/rt/tst-aio7.c
index a035f943ba..39c366f8eb 100644
--- a/rt/tst-aio7.c
+++ b/rt/tst-aio7.c
@@ -117,7 +117,8 @@ do_test (void)
 
   /* Test for aio_suspend() suspending even if completed elements in list.  */
   {
-    const int BYTES = 8, ELEMS = 2;
+#define BYTES 8
+    const int ELEMS = 2;
     int i, r, fd;
     static char buff[BYTES];
     char name[] = "/tmp/aio7.XXXXXX";