Просмотр исходного кода

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 лет назад
Родитель
Сommit
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) {