strtoumax: fix typo in previous commit.
[gnulib.git] / tests / test-readlinkat.c
index bb6b7b3..c2ce6ef 100644 (file)
@@ -66,6 +66,7 @@ main (void)
     ASSERT (errno == EBADF);
   }
   {
+    close (99);
     errno = 0;
     ASSERT (readlinkat (99, "foo", buf, sizeof buf) == -1);
     ASSERT (errno == EBADF);