The branch main has been updated by bnovkov:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=b774fbdb0077571dd34ca55ecb87199895ff47d3

commit b774fbdb0077571dd34ca55ecb87199895ff47d3
Author:     Bojan Novković <[email protected]>
AuthorDate: 2026-09-18 14:13:17 +0000
Commit:     Bojan Novković <[email protected]>
CommitDate: 2026-09-18 14:15:20 +0000

    libc/db: Correct a typo in the the hash tampering test
    
    Fixes the gcc build.
    
    Fixes:  7f5f07b139a5
---
 lib/libc/tests/db/db_hash_tamper_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libc/tests/db/db_hash_tamper_test.c 
b/lib/libc/tests/db/db_hash_tamper_test.c
index ce16c8071b63..9321b25722c1 100644
--- a/lib/libc/tests/db/db_hash_tamper_test.c
+++ b/lib/libc/tests/db/db_hash_tamper_test.c
@@ -47,7 +47,7 @@ create_db(void)
        ATF_CHECK(db != NULL);
        ATF_REQUIRE(atf_utils_file_exists(dbname));
 
-       ATF_REQUIRE(db->put(db, &key, &key, 0) == 0);
+       ATF_REQUIRE(db->put(db, &key, &val, 0) == 0);
 
        db->close(db);
 }

Reply via email to