]> ruderich.org/simon Gitweb - nsscash/nsscash.git/commitdiff
nss: tests: fix typo in comment
authorSimon Ruderich <simon@ruderich.org>
Sat, 8 Jun 2019 13:51:44 +0000 (15:51 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 8 Jun 2019 13:51:44 +0000 (15:51 +0200)
nss/tests/pw.c

index 4a32bfda1e905fd42a61ca851dd34f28de05c09a..f7e537ff89da7ff9723f475a08c1129a7546cf91 100644 (file)
@@ -245,7 +245,7 @@ static void test_getpwnam(void) {
     assert(s == NSS_STATUS_TRYAGAIN);
     assert(errnop == ERANGE);
     s = _nss_cash_getpwnam_r("nope", &p, tmp_small, sizeof(tmp_small), &errnop);
-    assert(s == NSS_STATUS_NOTFOUND); // 42 does not exist
+    assert(s == NSS_STATUS_NOTFOUND); // does not exist
     assert(errnop == ENOENT);
     s = _nss_cash_getpwnam_r("nobody", &p, tmp_small, sizeof(tmp_small), &errnop);
     assert(s == NSS_STATUS_TRYAGAIN);