-
Problem report
-
Resolution: Fixed
-
Trivial
-
7.0.0alpha1
-
None
-
Sprint 99 (Apr 2023)
-
1
Steps to reproduce:
- Build Agent in HP-UX
Result:
/usr/bin/gcc -DHAVE_CONFIG_H -I../../../../include/common -I../../../../include -I../../../../src/zabbix_agent -g -O2 -I/usr/local/pcre2-10.42/include -MT libspecsysinfo_a-diskspace.o -MD -MP -MF .deps/libspecsysinfo_a-diskspace.Tpo -c -o libspecsysinfo_a-diskspace.o `test -f 'diskspace.c' || echo './'`diskspace.c diskspace.c: In function 'vfs_fs_get_local': diskspace.c:332: error: too few arguments to function 'zbx_json_addstring'
{}Expected:
Pass Build.
Opinion:
zbx_json_addstring() lacks fourth arguments in src/libs/zbxsysinfo/hpux/diskspace.c 332 line.
316 zbx_json_addstring(&j, ZBX_SYSINFO_TAG_FSNAME, mntpoint->fsname, ZBX_JSON_TYPE_STRING); 317 zbx_json_addstring(&j, ZBX_SYSINFO_TAG_FSTYPE, mntpoint->fstype, ZBX_JSON_TYPE_STRING); ... 332 zbx_json_addstring(&j, ZBX_SYSINFO_TAG_FSOPTIONS, mntpoint->options);
- caused by
-
ZBXNEXT-1616 Agent supported vfs mount status on discovered mounts.
- Closed