From: Sean Campbell Date: Thu, 12 Oct 2017 01:31:45 +0000 (-0400) Subject: Leftover reference to hostname_g[]. X-Git-Tag: collectd-5.8.0~35^2~3 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4c763ee8c94c7fc3ed3d6b7071cf018112fa3e46;p=collectd.git Leftover reference to hostname_g[]. --- diff --git a/src/daemon/plugin_mock.c b/src/daemon/plugin_mock.c index ca985398..6df4c15d 100644 --- a/src/daemon/plugin_mock.c +++ b/src/daemon/plugin_mock.c @@ -30,7 +30,7 @@ kstat_ctl_t *kc = NULL; #endif /* HAVE_LIBKSTAT */ -char hostname_g[] = "example.com"; +char *hostname_g = "example.com"; void plugin_set_dir(const char *dir) { /* nop */ }