summaryrefslogtreecommitdiff
path: root/tests/test-timespec.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-11-05 18:32:03 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-11-05 18:32:24 -0800
commit36d982f39b683d0266b9c6ff1e01cbfc94bd97f6 (patch)
tree8c28514e96782bed047e6a2eb4cfa960870a0810 /tests/test-timespec.c
parent051613c240910cacdd83cb4f6a431f5435124243 (diff)
downloadgnulib-36d982f39b683d0266b9c6ff1e01cbfc94bd97f6.tar.gz
test-timespec: fix typo in previous change
* tests/test-timespec.c (main): Fix typo that reduced test quality.
Diffstat (limited to 'tests/test-timespec.c')
-rw-r--r--tests/test-timespec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-timespec.c b/tests/test-timespec.c
index 839906cf37..20bbd0b985 100644
--- a/tests/test-timespec.c
+++ b/tests/test-timespec.c
@@ -144,7 +144,7 @@ main (void)
for (k = 0; k < ntests; k++)
{
- struct timespec c = test[j];
+ struct timespec c = test[k];
if (valid (c))
{
struct timespec sumbc = timespec_add (b, c);