no terabyte constant

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Trivial
    • 1.8.16rc1, 2.0.3rc1, 2.1.0
    • Affects Version/s: None
    • Component/s: Server (S)
    • None

      zabbix has the following definitions :

      common.h:#define ZBX_KIBIBYTE 1024
      common.h:#define ZBX_MEBIBYTE 1048576
      common.h:#define ZBX_GIBIBYTE 1073741824

      tera is missing, thus misc.c does something a little bit ugly for T (assuming there isn't some specific reason for this ) :

      factor = ZBX_GIBIBYTE;
      factor *= ZBX_KIBIBYTE;

            Assignee:
            Unassigned
            Reporter:
            richlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: