Skip to content

Commit 497f37c

Browse files
daurnimatorandrewrk
authored andcommitted
test/link/glibc_compat: fix incorrect strlcpy result
1 parent 4303400 commit 497f37c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/link/glibc_compat/glibc_runtime_check.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ fn checkStrlcpy() !void {
9191
fn checkStrlcpy_v2_38() !void {
9292
var buf: [99]u8 = undefined;
9393
const used = c_string.strlcpy(&buf, "strlcpy works!", buf.len);
94-
assert(used == 15);
94+
assert(used == 14);
9595
}
9696

9797
// atexit is part of libc_nonshared, so ensure its linked in correctly

0 commit comments

Comments
 (0)