diff --git a/source/rpc_parse/parse_reg.c b/source/rpc_parse/parse_reg.c index c46eef13003..3d586b3779f 100644 --- a/source/rpc_parse/parse_reg.c +++ b/source/rpc_parse/parse_reg.c @@ -1311,7 +1311,7 @@ void init_reg_r_enum_key(REG_R_ENUM_KEY *r_u, char *subkey ) if ( !r_u ) return; - init_unistr4( &r_u->keyname, subkey, STR_TERMINATE ); + init_unistr4( &r_u->keyname, subkey, UNI_STR_TERMINATE ); r_u->classname = TALLOC_ZERO_P( get_talloc_ctx(), UNISTR4 ); r_u->time = TALLOC_ZERO_P( get_talloc_ctx(), NTTIME ); }