Procházet zdrojové kódy

fix superfluous argument to printf (#fixes 1308)

Signed-off-by: Sven Nierlein <sven@nierlein.de>
Sven Nierlein před 9 roky
rodič
revize
0dc6537612
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      plugins/check_load.c

+ 1 - 1
plugins/check_load.c

@@ -160,7 +160,7 @@ main (int argc, char **argv)
 	    sscanf (input_buffer, "%*[^l]load averages: %lf, %lf, %lf", &la1, &la5, &la15);
     }
     else {
-		printf (_("could not parse load from uptime: %s\n"), result, PATH_TO_UPTIME);
+		printf (_("could not parse load from uptime %s: %s\n"), PATH_TO_UPTIME, result);
 		return STATE_UNKNOWN;
     }