diff options
author | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2017-12-29 13:04:00 +0300 |
---|---|---|
committer | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2017-12-29 13:04:00 +0300 |
commit | 2913a3ffa6a9cb9128bbe5018cd93d851bea6c99 (patch) | |
tree | 421ab68ad0c77f0820c0da3e744f9d726c375231 /src | |
parent | 9aa9ab45128a598f30270dd1a893b97c262d5c12 (diff) | |
parent | fe8a18997fd2a948adb1dc0eb07c5dbc65d3f647 (diff) |
...G...... [ZBX-13264] fixed Zabbix agent compilation on OS/X
Diffstat (limited to 'src')
-rw-r--r-- | src/libs/zbxsysinfo/common/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/zbxsysinfo/common/dir.c b/src/libs/zbxsysinfo/common/dir.c index 4869c776814..eadac6d32ed 100644 --- a/src/libs/zbxsysinfo/common/dir.c +++ b/src/libs/zbxsysinfo/common/dir.c @@ -933,8 +933,8 @@ static int vfs_dir_count(AGENT_REQUEST *request, AGENT_RESULT *result) (S_ISFIFO(status.st_mode) && 0 != (types & DET_FIFO))) && (min_size <= (zbx_uint64_t)status.st_size && (zbx_uint64_t)status.st_size <= max_size) && - (min_time < status.st_mtim.tv_sec && - status.st_mtim.tv_sec <= max_time)) + (min_time < status.st_mtime && + status.st_mtime <= max_time)) { ++count; } |