Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-9796

NetBSD's diskspace.c VFS_FS_SIZE always returns SYSINFO_RET_FAIL

XMLWordPrintable

      Fix an obvious error in VFS_FS_SIZE; don't always
      return SYSINFO_RET_FAIL, but instead return the
      return value of the helper function we ended up calling.

      --- src/libs/zbxsysinfo/netbsd/diskspace.c.orig 2015-02-23 12:28:14.000000000 +0000
      +++ src/libs/zbxsysinfo/netbsd/diskspace.c
      @@ -183,7 +183,7 @@ int VFS_FS_SIZE(AGENT_REQUEST *request, 
                      return SYSINFO_RET_FAIL;
              }
       
      -       return SYSINFO_RET_FAIL;
      +       return ret;
       }
       
       int    VFS_FS_DISCOVERY(AGENT_REQUEST *request, AGENT_RESULT *result)
      

            Unassigned Unassigned
            heidnes HÃ¥vard Eidnes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: