From 8e95188501c5d5f648ab5b13dd03a7da70df683d Mon Sep 17 00:00:00 2001 From: Michael Veksler Date: Mon, 5 Feb 2018 15:26:43 +0000 Subject: ...G...PS. [ZBX-12671] fixed Solaris agent compile problem --- include/sysinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sysinfo.h') diff --git a/include/sysinfo.h b/include/sysinfo.h index c039d9568a0..6ea5f08dea1 100644 --- a/include/sysinfo.h +++ b/include/sysinfo.h @@ -290,7 +290,7 @@ typedef int (*zbx_metric_func_t)(AGENT_REQUEST *request, AGENT_RESULT *result); typedef struct { const char *mode; - int (*function)(void); + int (*function)(const char *devname, AGENT_RESULT *result); } MODE_FUNCTION; -- cgit v1.2.3