1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

lib/param: fix function name (set_variable) in debug statements

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Ira Cooper <ira@samba.org>
This commit is contained in:
Michael Adam 2012-10-29 14:52:50 +01:00 committed by Ira Cooper
parent d084f5e6a6
commit b59fed0d5d

View File

@ -1300,7 +1300,7 @@ static bool set_variable(TALLOC_CTX *mem_ctx, int parmnum, void *parm_ptr,
case P_BOOL: {
bool b;
if (!set_boolean(pszParmValue, &b)) {
DEBUG(0,("lp_do_parameter(%s): value is not boolean!\n", pszParmValue));
DEBUG(0,("set_variable(%s): value is not boolean!\n", pszParmValue));
return false;
}
*(bool *)parm_ptr = b;
@ -1310,7 +1310,7 @@ static bool set_variable(TALLOC_CTX *mem_ctx, int parmnum, void *parm_ptr,
case P_BOOLREV: {
bool b;
if (!set_boolean(pszParmValue, &b)) {
DEBUG(0,("lp_do_parameter(%s): value is not boolean!\n", pszParmValue));
DEBUG(0,("set_variable(%s): value is not boolean!\n", pszParmValue));
return false;
}
*(bool *)parm_ptr = !b;
@ -1339,8 +1339,8 @@ static bool set_variable(TALLOC_CTX *mem_ctx, int parmnum, void *parm_ptr,
}
}
DEBUG(0,("lp_do_parameter(%s): value is not "
"a valid size specifier!\n", pszParmValue));
DEBUG(0, ("set_variable(%s): value is not "
"a valid size specifier!\n", pszParmValue));
return false;
}