werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source4/lib/registry/
[bbaumbach/samba-autobuild/.git] / source4 / lib / registry / tests / registry.c
index 227e65b5f254c9805ffb4988bdd70c222139c1df..4d94b5ace743b3c0119a478a957326bd129c62dc 100644 (file)
@@ -242,7 +242,7 @@ static bool test_flush_key(struct torture_context *tctx, void *_data)
        torture_assert_werr_ok(tctx, error, "flush key");
 
        torture_assert_werr_equal(tctx, reg_key_flush(NULL),
-                                 WERR_INVALID_PARAM, "flush key");
+                                 WERR_INVALID_PARAMETER, "flush key");
 
        return true;
 }