Code

sysdbd: Fixed a config parser error message.
authorSebastian Harl <sh@tokkee.org>
Fri, 18 Apr 2014 12:27:52 +0000 (14:27 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 18 Apr 2014 12:27:52 +0000 (14:27 +0200)
src/tools/sysdbd/configfile.c

index 9579d91e45cf02b8241302f3bb52dbfd56de996f..9e918d5c7f40af750929ed9a51d12238eae42971 100644 (file)
@@ -228,8 +228,8 @@ daemon_configure_plugin(oconfig_item_t *ci)
        if (oconfig_get_string(ci, &name)) {
                sdb_log(SDB_LOG_ERR, "config: %s requires a single "
                                "string argument\n"
-                               "\tUsage: LoadBackend BACKEND",
-                               ci->key);
+                               "\tUsage: <%s NAME>...</%s>",
+                               ci->key, ci->key, ci->key);
                return ERR_INVALID_ARG;
        }