Ad Widget

Collapse

A few typos in 1.3.1 for Solaris

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Paul Hanson
    Junior Member
    • Dec 2006
    • 5

    #1

    A few typos in 1.3.1 for Solaris

    Came across a few typos while compiling 1.3.1 for Solaris 5.9:

    In src/libs/zbxsysinfo/solaris/cpu.c, line 249:
    Code:
                   zbx_snprintf(cpuname, sizeof([COLOR=Red]s[/COLOR]puname), "all");
    should be
                   zbx_snprintf(cpuname, sizeof([COLOR=DarkGreen]c[/COLOR]puname), "all");

    In src/libs/zbxsysinfo/solaris/diskio.c, line 361:
    Code:
           if(get_param(param, 2, mode, sizeof(mo[COLOR=Red]f[/COLOR]e)) != 0)
    should be
           if(get_param(param, 2, mode, sizeof(mo[COLOR=DarkGreen]d[/COLOR]e)) != 0)
    In src/libs/zbxsysinfo/solaris/swap.c, line 378
    Code:
        if(strncmp(swapdev, "all", sizeof([COLOR=Red]sa[/COLOR]pdev)))
    should be
        if(strncmp(swapdev, "all", sizeof([COLOR=DarkGreen]swa[/COLOR]pdev)))
    In src/libs/zbxsysinfo/solaris/swap.c, line 440
    Code:
        if(strncmp(swapdev, "all", sizeof(swapde[COLOR=Red]f[/COLOR])))
    should be
        if(strncmp(swapdev, "all", sizeof(swapde[COLOR=DarkGreen]v[/COLOR])))
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Thanks for reporting this!
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

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

      #3
      The compilation issues are fixed.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      Working...