summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-10-29 14:52:50 +0100
committerIra Cooper <ira@samba.org>2012-10-29 20:14:07 +0100
commitb59fed0d5d7dceff3e5ab47a6f219849a24cff1b (patch)
tree163ce2d084e3100027615c37c4b87c822b97dbbb
parentd084f5e6a66accf223efb4f9a6fa4b2d0ca63ed6 (diff)
downloadsamba-b59fed0d5d7dceff3e5ab47a6f219849a24cff1b.tar.gz
samba-b59fed0d5d7dceff3e5ab47a6f219849a24cff1b.tar.bz2
samba-b59fed0d5d7dceff3e5ab47a6f219849a24cff1b.zip
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>
-rw-r--r--lib/param/loadparm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c
index 97e2adcc9a..66ff9a5321 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;
}