From cc0b995f3da087706918131d46b3c7b24707fb16 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Fri, 6 Mar 2015 00:10:39 +0100 Subject: [PATCH] fix string_memset code --- src/functional/string_memset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/functional/string_memset.c b/src/functional/string_memset.c index 5c0dd02..baea112 100644 --- a/src/functional/string_memset.c +++ b/src/functional/string_memset.c @@ -33,8 +33,8 @@ static void test_align(int align, int len) for (i = 0; i < N; i++) if (buf[i] != buf2[i]) { t_error("memset(align %d, '#', %d) failed at pos %d\n", align, len, i); - t_printf("got : '%.*s'\n", N, s); - t_printf("want: '%.*s'\n", N, want); + t_printf("got : '%.*s'\n", N, buf); + t_printf("want: '%.*s'\n", N, buf2); break; } } -- 2.11.4.GIT