correct sense of macro variable name in SMB2 durable open test
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 17 Jun 2015 01:21:28 +0000 (13:21 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 24 Jun 2015 06:54:23 +0000 (08:54 +0200)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Jun 24 08:54:23 CEST 2015 on sn-devel-104

source4/torture/smb2/durable_open.c

index 412455c1d602924a9aa7f987b1c0acf8d715141e..fd6af33eb01ec301f73920b2b9705caad111550b 100644 (file)
                ret = false; \
        }} while (0)
 
-#define CHECK_NOT_VAL(v, correct) do { \
-       if ((v) == (correct)) { \
+#define CHECK_NOT_VAL(v, incorrect) do { \
+       if ((v) == (incorrect)) { \
                torture_result(tctx, TORTURE_FAIL, "(%s): wrong value for %s got 0x%llx - should not be 0x%llx\n", \
-                               __location__, #v, (unsigned long long)v, (unsigned long long)correct); \
+                               __location__, #v, (unsigned long long)v, (unsigned long long)incorrect); \
                ret = false; \
        }} while (0)