ctdb-common: Fix log message for conf option with unknown section
[vlendec/samba-autobuild/.git] / ctdb / common / conf.c
index 669ac23a74bbef2ae8991355c6416a447a22e3a3..a6e0f83032849fa01c4375d6d2e02f9d226474b1 100644 (file)
@@ -1099,11 +1099,12 @@ static bool conf_load_option(const char *name,
 
        if (state->s == NULL) {
                if (state->conf->ignore_unknown) {
-                       D_DEBUG("conf: ignoring unknown option \"%s\"\n",
+                       D_DEBUG("conf: unknown section for option \"%s\"\n",
                                name);
                        return true;
                } else {
-                       D_ERR("conf: unknown option \"%s\"\n", name);
+                       D_ERR("conf: unknown section for option \"%s\"\n",
+                             name);
                        state->err = EINVAL;
                        return false;
                }