ソースを参照

check_dns.c - extra vlist arg

There is no need to print the command twice, and we did not have enough format string specifiers to account for this. Removed additional printing of nslookup command.

coverity 103716
Spenser Reinhardt 11 年 前
コミット
8bb1a50ff7
1 ファイル変更1 行追加1 行削除
  1. 1 1
      plugins/check_dns.c

+ 1 - 1
plugins/check_dns.c

@@ -250,7 +250,7 @@ main (int argc, char **argv)
     }
     *adrp = 0;
   } else
-    die (STATE_CRITICAL, "%s%s%s\n", _("DNS CRITICAL - '"), NSLOOKUP_COMMAND, _("' msg parsing exited with no address"), NSLOOKUP_COMMAND);
+    die (STATE_CRITICAL, "%s%s%s\n", _("DNS CRITICAL - '"), NSLOOKUP_COMMAND, _("' msg parsing exited with no address"));
 
   /* compare to expected address */
   if (result == STATE_OK && expected_address_cnt > 0) {