git: 8be864282609 - main - libc/test: fix typo
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 Dec 2025 17:07:15 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/src/commit/?id=8be8642826099368208efb2c1222f2a102cc5b08
commit 8be8642826099368208efb2c1222f2a102cc5b08
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-12-14 17:05:07 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-12-14 17:06:40 +0000
libc/test: fix typo
I misapplied ngie's recommended correction.
Fixes: 123c086200491819595abc271d360e605288fd18
Differential Revision: https://reviews.freebsd.org/D54169
---
lib/libc/tests/string/stpncpy_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
}
}
}