summaryrefslogtreecommitdiff
path: root/source3/libgpo
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-04-27 16:38:40 +0200
committerGünther Deschner <gd@samba.org>2010-04-27 16:42:15 +0200
commit6864828d9d85dacff0ca9df73761a98d2ceb9f2e (patch)
treeb37f68f3310dc302941e8ebafcc2fc5c791bf7c9 /source3/libgpo
parenta833be0c4e44135e4f45b3d460586762da04cf32 (diff)
downloadsamba-6864828d9d85dacff0ca9df73761a98d2ceb9f2e.tar.gz
samba-6864828d9d85dacff0ca9df73761a98d2ceb9f2e.tar.bz2
samba-6864828d9d85dacff0ca9df73761a98d2ceb9f2e.zip
s3: use shared registry functions.
Guenther
Diffstat (limited to 'source3/libgpo')
-rw-r--r--source3/libgpo/gpo_reg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libgpo/gpo_reg.c b/source3/libgpo/gpo_reg.c
index 9367bcae9c..0c26dbedc6 100644
--- a/source3/libgpo/gpo_reg.c
+++ b/source3/libgpo/gpo_reg.c
@@ -787,7 +787,7 @@ void dump_reg_val(int lvl, const char *direction,
return;
}
- type_str = reg_type_lookup(val->type);
+ type_str = str_regtype(val->type);
DEBUG(lvl,("\tdump_reg_val:\t%s '%s'\n\t\t\t'%s' %s: ",
direction, key, subkey, type_str));
@@ -933,7 +933,7 @@ WERROR reg_apply_registry_entry(TALLOC_CTX *mem_ctx,
if (flags & GPO_INFO_FLAG_VERBOSE) {
printf("about to store key: [%s]\n", entry->key);
printf(" value: [%s]\n", entry->value);
- printf(" data: [%s]\n", reg_type_lookup(entry->data->type));
+ printf(" data: [%s]\n", str_regtype(entry->data->type));
printf(" action: [%s]\n", gp_reg_action_str(entry->action));
}