diff options
| author | Robert Clausecker <fuz@FreeBSD.org> | 2025-12-14 17:05:07 +0000 |
|---|---|---|
| committer | Robert Clausecker <fuz@FreeBSD.org> | 2025-12-14 17:06:40 +0000 |
| commit | 8be8642826099368208efb2c1222f2a102cc5b08 (patch) | |
| tree | 920ded405d1260b56a7129c4c276a98691da999e | |
| parent | 5917f9571dabddf28f95d15c17b65dc163628d44 (diff) | |
libc/test: fix typo
I misapplied ngie's recommended correction.
Fixes: 123c086200491819595abc271d360e605288fd18
Differential Revision: https://reviews.freebsd.org/D54169
| -rw-r--r-- | lib/libc/tests/string/stpncpy_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/tests/string/stpncpy_test.c b/lib/libc/tests/string/stpncpy_test.c index 2dfd932d45dc..7fabe17bfe4a 100644 --- a/lib/libc/tests/string/stpncpy_test.c +++ b/lib/libc/tests/string/stpncpy_test.c @@ -102,7 +102,7 @@ test_stpncpy(const char *s, size_t size) assert(dst[x] == '\0'); freebuf(dst, bufsize, j); - freebuf(src, MIN(bufsize, size)); + freebuf(src, MIN(bufsize, size), i); } } } |
