From 96c4bf4a1c70e080107e954ea09dbe0a9709ae4f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 29 Jun 2007 12:15:41 +0000 Subject: r23655: Fix a comment and adjust some code formatting. Michael (This used to be commit b294bc707c2a7ef3ff5efcac1d5ea6f3d80f5a70) --- source3/utils/net_conf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/utils/net_conf.c') diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c index b9b693d8d5..021ac0005d 100644 --- a/source3/utils/net_conf.c +++ b/source3/utils/net_conf.c @@ -145,7 +145,7 @@ static char *format_value(TALLOC_CTX *mem_ctx, struct registry_value *value) /* * add a value to a key. */ -static WERROR reg_setvalue_internal(struct registry_key *key, +static WERROR reg_setvalue_internal(struct registry_key *key, const char *valname, const char *valtype, const char *valstr) @@ -165,7 +165,8 @@ static WERROR reg_setvalue_internal(struct registry_key *key, val.v.sz.len = strlen(valstr) + 1; } else { - d_fprintf(stderr, "Sorry, only value types DWORD and SZ implementd currently for setting values.\n"); + d_fprintf(stderr, "Only value types DWORD and SZ are" + "currently implemented for setting values.\n"); goto done; } -- cgit