werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source4/lib/registry/
[bbaumbach/samba-autobuild/.git] / source4 / lib / registry / ldb.c
index 8e56ac13c931112046823c8ea19868425d07c2b4..8bb6fd5c10f2006352e846552026d6d1745311b1 100644 (file)
@@ -545,7 +545,7 @@ WERROR reg_open_ldb_file(TALLOC_CTX *parent_ctx, const char *location,
        struct ldb_message *attrs_msg;
 
        if (location == NULL)
-               return WERR_INVALID_PARAM;
+               return WERR_INVALID_PARAMETER;
 
        wrap = ldb_wrap_connect(parent_ctx, ev_ctx, lp_ctx,
                                location, session_info, credentials, 0);