diff options
author | Günther Deschner <gd@samba.org> | 2015-12-03 15:24:14 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-09-28 00:04:18 +0200 |
commit | f19dcbbb58ae33accb0fa054b258eb7966787570 (patch) | |
tree | 411fe63393f340d7cbf5dbcbdb901aec8c14b29a /source3/registry/reg_api_util.c | |
parent | 97c670bbbd8daeafb56a365233e9466282e67299 (diff) | |
download | samba-f19dcbbb58ae33accb0fa054b258eb7966787570.tar.gz |
werror: replace WERR_NOMEM with WERR_NOT_ENOUGH_MEMORY in source3/registry/
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/registry/reg_api_util.c')
-rw-r--r-- | source3/registry/reg_api_util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/registry/reg_api_util.c b/source3/registry/reg_api_util.c index b206e7d898e..1c79fcf9a89 100644 --- a/source3/registry/reg_api_util.c +++ b/source3/registry/reg_api_util.c @@ -40,7 +40,7 @@ WERROR reg_open_path(TALLOC_CTX *mem_ctx, const char *orig_path, WERROR err; if (!(path = SMB_STRDUP(orig_path))) { - return WERR_NOMEM; + return WERR_NOT_ENOUGH_MEMORY; } p = strchr(path, '\\'); @@ -99,7 +99,7 @@ WERROR reg_create_path(TALLOC_CTX *mem_ctx, const char *orig_path, WERROR err; if (!(path = SMB_STRDUP(orig_path))) { - return WERR_NOMEM; + return WERR_NOT_ENOUGH_MEMORY; } p = strchr(path, '\\'); @@ -151,7 +151,7 @@ WERROR reg_delete_path(const struct security_token *token, WERROR err; if (!(path = SMB_STRDUP(orig_path))) { - return WERR_NOMEM; + return WERR_NOT_ENOUGH_MEMORY; } p = strchr(path, '\\'); |