lib/param: fix function name (set_variable) in debug statements
authorMichael Adam <obnox@samba.org>
Mon, 29 Oct 2012 13:52:50 +0000 (14:52 +0100)
committerIra Cooper <ira@samba.org>
Mon, 29 Oct 2012 19:14:07 +0000 (20:14 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Ira Cooper <ira@samba.org>
lib/param/loadparm.c

index 97e2adcc9a8b47b4819d0dd7d440a0450908512c..66ff9a5321ff6583499a7afe12169934addfcb4b 100644 (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;
                }