summaryrefslogtreecommitdiffstats
path: root/regress/lib/libc
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2006-04-01 18:24:53 +0000
committerotto <otto@openbsd.org>2006-04-01 18:24:53 +0000
commitce5031113f4b11758fa75ddef440ce8f3c202843 (patch)
tree831299715184b0d83750ad093ec94ad194549fd2 /regress/lib/libc
parentmake lint happy (diff)
downloadwireguard-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.c4
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();