diff options
author | 2006-04-01 18:24:53 +0000 | |
---|---|---|
committer | 2006-04-01 18:24:53 +0000 | |
commit | ce5031113f4b11758fa75ddef440ce8f3c202843 (patch) | |
tree | 831299715184b0d83750ad093ec94ad194549fd2 /regress/lib/libc | |
parent | make lint happy (diff) | |
download | wireguard-openbsd-ce5031113f4b11758fa75ddef440ce8f3c202843.tar.xz wireguard-openbsd-ce5031113f4b11758fa75ddef440ce8f3c202843.zip |
Use NFILES for starting point instead of hardcoded const
Diffstat (limited to 'regress/lib/libc')
-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(); |