From: Michael Adam Date: Mon, 29 Oct 2012 13:52:50 +0000 (+0100) Subject: lib/param: fix function name (set_variable) in debug statements X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=b59fed0d5d7dceff3e5ab47a6f219849a24cff1b;hp=d084f5e6a66accf223efb4f9a6fa4b2d0ca63ed6;p=obnox%2Fsamba%2Fsamba-obnox.git lib/param: fix function name (set_variable) in debug statements Signed-off-by: Michael Adam Reviewed-by: Ira Cooper --- diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 97e2adcc9a8..66ff9a5321f 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -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; }