]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
daemon: fix missing parenthesis 126/head
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 5 Aug 2015 15:28:38 +0000 (18:28 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 5 Aug 2015 15:28:38 +0000 (18:28 +0300)
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
src/daemon/client.c

index 9810e2e094d0c69ae271ed81a2cbb7376aca6924..af5a6c9aaeb58efa6cc4a5b28aad62f025050a16 100644 (file)
@@ -145,7 +145,7 @@ client_handle_set_configuration(struct lldpd *cfg, enum hmsg_type *type,
        }
        if (CHANGED_STR(c_hostname)) {
                log_debug("rpc", "change system name to %s",
-                   config->c_hostname?config->c_hostname:"(NULL");
+                   config->c_hostname?config->c_hostname:"(NULL)");
                free(cfg->g_config.c_hostname);
                cfg->g_config.c_hostname = xstrdup(config->c_hostname);
                levent_update_now(cfg);