From 6864828d9d85dacff0ca9df73761a98d2ceb9f2e Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 27 Apr 2010 16:38:40 +0200 Subject: s3: use shared registry functions. Guenther --- source3/utils/net_registry.c | 2 +- source3/utils/net_registry_util.c | 2 +- source3/utils/net_rpc_registry.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/net_registry.c b/source3/utils/net_registry.c index 3b55c1406b..ae9cdde2fb 100644 --- a/source3/utils/net_registry.c +++ b/source3/utils/net_registry.c @@ -418,7 +418,7 @@ static void net_registry_increment_fn(void *private_data) if (value->type != REG_DWORD) { d_fprintf(stderr, _("value not a DWORD: %s\n"), - reg_type_lookup(value->type)); + str_regtype(value->type)); goto done; } diff --git a/source3/utils/net_registry_util.c b/source3/utils/net_registry_util.c index 3d1919cbf1..0b0f617222 100644 --- a/source3/utils/net_registry_util.c +++ b/source3/utils/net_registry_util.c @@ -37,7 +37,7 @@ void print_registry_value(const struct registry_value *valvalue, bool raw) { if (!raw) { d_printf(_("Type = %s\n"), - reg_type_lookup(valvalue->type)); + str_regtype(valvalue->type)); } switch(valvalue->type) { case REG_DWORD: diff --git a/source3/utils/net_rpc_registry.c b/source3/utils/net_rpc_registry.c index 28a1c8d82f..2400af4601 100644 --- a/source3/utils/net_rpc_registry.c +++ b/source3/utils/net_rpc_registry.c @@ -955,7 +955,7 @@ static void dump_values( REGF_NK_REC *nk ) for ( i=0; inum_values; i++ ) { d_printf( "\"%s\" = ", nk->values[i].valuename ? nk->values[i].valuename : "(default)" ); - d_printf( "(%s) ", reg_type_lookup( nk->values[i].type ) ); + d_printf( "(%s) ", str_regtype( nk->values[i].type ) ); data_size = nk->values[i].data_size & ~VK_DATA_IN_OFFSET; switch ( nk->values[i].type ) { -- cgit