diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2006-04-01 18:24:54 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2006-04-01 18:24:54 +0000 |
commit | 1b0715b47c4660e5699fbec5b0beb66edd384fc5 (patch) | |
tree | 76bf7541945165fc63daf3299198418694dae248 /regress | |
parent | d72f2a60c25cb4c47db52de5270d969112126aad (diff) |
Use NFILES for starting point instead of hardcoded const
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libc/telldir/telldir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libc/telldir/telldir.c b/regress/lib/libc/telldir/telldir.c index e8c8f6745e0..fc1ca3e8913 100644 --- a/regress/lib/libc/telldir/telldir.c +++ b/regress/lib/libc/telldir/telldir.c @@ -1,4 +1,4 @@ -/* $OpenBSD: telldir.c,v 1.1 2006/03/25 20:27:11 otto Exp $ */ +/* $OpenBSD: telldir.c,v 1.2 2006/04/01 18:24:53 otto Exp $ */ /* Written by Otto Moerbeek, 2006, Public domain. */ @@ -98,7 +98,7 @@ main(void) err(1, "opendir"); for (i = 0; i < NFILES; i++) - loop(dp, (i + 500) % NFILES); + loop(dp, (i + NFILES/2) % NFILES); closedir(dp); delfiles(); |