summary refs log tree commit diff
path: root/rt/tst-aio7.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-07 22:23:23 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-07 22:23:23 +0000
commit35457070d26e3ac6f0132e993bfea1bff3fef977 (patch)
tree04117df70cca04d4eba685d1e431c68d26ec9460 /rt/tst-aio7.c
parentb6b9ee9bcb357dda75515ef04430b05d79491f09 (diff)
downloadglibc-35457070d26e3ac6f0132e993bfea1bff3fef977.tar.gz
glibc-35457070d26e3ac6f0132e993bfea1bff3fef977.tar.xz
glibc-35457070d26e3ac6f0132e993bfea1bff3fef977.zip
Update.
	* rt/tst-aio7.c (do_test): Give buff permanent extend, too.
Diffstat (limited to 'rt/tst-aio7.c')
-rw-r--r--rt/tst-aio7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/tst-aio7.c b/rt/tst-aio7.c
index 2925b6233c..a035f943ba 100644
--- a/rt/tst-aio7.c
+++ b/rt/tst-aio7.c
@@ -119,7 +119,7 @@ do_test (void)
   {
     const int BYTES = 8, ELEMS = 2;
     int i, r, fd;
-    char buff[BYTES];
+    static char buff[BYTES];
     char name[] = "/tmp/aio7.XXXXXX";
     struct timespec timeout;
     static struct aiocb cb0, cb1;