From 4c763ee8c94c7fc3ed3d6b7071cf018112fa3e46 Mon Sep 17 00:00:00 2001 From: Sean Campbell Date: Wed, 11 Oct 2017 21:31:45 -0400 Subject: [PATCH] Leftover reference to hostname_g[]. --- src/daemon/plugin_mock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ } -- 2.11.0