From: Ralph Boehme Date: Tue, 29 Nov 2022 11:07:19 +0000 (+0100) Subject: lib/torture: fix tctx arg usage in torture_assert_nttime_equal() macro X-Git-Tag: talloc-2.4.0~366 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d58174cddeb2a5e62557ca23724b7acbb56e4c5;p=thirdparty%2Fsamba.git lib/torture: fix tctx arg usage in torture_assert_nttime_equal() macro Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/lib/torture/torture.h b/lib/torture/torture.h index ea34c15e0e9..f6089684afd 100644 --- a/lib/torture/torture.h +++ b/lib/torture/torture.h @@ -685,7 +685,7 @@ static inline void torture_dump_data_str_cb(const char *buf, void *private_data) #define torture_assert_nttime_equal(torture_ctx,got,expected,cmt) \ do { NTTIME __got = got, __expected = expected; \ if (!nt_time_equal(&__got, &__expected)) { \ - torture_result(torture_ctx, TORTURE_FAIL, __location__": "#got" was %s, expected %s: %s", nt_time_string(tctx, __got), nt_time_string(tctx, __expected), cmt); \ + torture_result(torture_ctx, TORTURE_FAIL, __location__": "#got" was %s, expected %s: %s", nt_time_string(torture_ctx, __got), nt_time_string(torture_ctx, __expected), cmt); \ return false; \ }\ } while(0)