From e498c821bf6d0abdce0d78c71b5582e1c14421c4 Mon Sep 17 00:00:00 2001 From: Elaina Claus Date: Tue, 13 Jan 2026 22:41:16 -0500 Subject: [PATCH] show data structure base and link address --- tests/test_linkedlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_linkedlist.c b/tests/test_linkedlist.c index a6fbb02..fceb658 100644 --- a/tests/test_linkedlist.c +++ b/tests/test_linkedlist.c @@ -50,7 +50,7 @@ int main (void) size_t test_size = 10; for(size_t i = 0; i < test_size; i++) { test_data* t = malloc(sizeof(test_data)); - printf("n = %d allocated data...link at %p...\n", i, &t->link); + printf("n = %d allocated data at %p...test_data.link at %p...\n", i, &t, &t->link); t->data1 = rand() % UINT64_MAX; t->data2 = rand() % UINT64_MAX;