Ad Widget

Collapse

Bug in src/libs/zbxsysinfo/osf/cpu.c

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • max
    Member
    • Jan 2008
    • 36

    #1

    Bug in src/libs/zbxsysinfo/osf/cpu.c

    Hi !

    Two errors found in src/libs/zbxsysinfo/osf/cpu.c while trying to compile agent :

    line 90 :
    -zbx_snprintf(cpuname, sizeof(cpuname)"all");
    +zbx_snprintf(cpuname, sizeof(cpuname), "all");

    line 104:
    -zbx_snprintf(type, sizeof(tupe), "user");
    +zbx_snprintf(type, sizeof(type), "user");

    Bye
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    It is already fixed in 1.4.4, possibly in earlier releases as well.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • max
      Member
      • Jan 2008
      • 36

      #3
      Apparently not, I've looked in 1.4.4 and pre-1.4.x : cpu.c in src/libs/zbxsysinfo/osf isn't corrected.
      Last edited by max; 25-03-2008, 10:35.

      Comment

      Working...