nsswitch: Fix wbclient torture_assert_wbc_ok_goto_fail macro
authorAndreas Schneider <asn@samba.org>
Wed, 22 Jun 2016 05:51:45 +0000 (07:51 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 24 Jun 2016 00:01:19 +0000 (02:01 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
nsswitch/libwbclient/tests/wbclient.c

index 0de6096ee4632ec3d969f44a4dafcf253f54bca2..a8acf078d3deed2dbe87264725dca551dab34d6a 100644 (file)
@@ -57,7 +57,7 @@
        } while (0)
 
 #define torture_assert_wbc_ok_goto_fail(torture_ctx,expr,cmt,cmt_arg)                  \
-       torture_assert_wbc_equal(torture_ctx,expr,WBC_ERR_SUCCESS,cmt,cmt_arg)
+       torture_assert_wbc_equal_goto_fail(torture_ctx,expr,WBC_ERR_SUCCESS,cmt,cmt_arg)
 
 #define torture_assert_str_equal_goto_fail(torture_ctx,got,expected,cmt)\
        do { const char *__got = (got), *__expected = (expected); \