diff options
author | Sven Nierlein <sven@nierlein.de> | 2016-11-07 23:39:04 +0100 |
---|---|---|
committer | Sven Nierlein <sven@nierlein.de> | 2016-11-07 23:39:04 +0100 |
commit | 0dc65376126e65392cc8127cee819669c1966dbe (patch) | |
tree | e571020dd275637cc15723e3cd00c121260a1908 /plugins | |
parent | 0bf64b356c40029df858104a97f99c697826b6ac (diff) | |
download | monitoring-plugins-0dc65376126e65392cc8127cee819669c1966dbe.tar.gz |
fix superfluous argument to printf (#fixes 1308)
Signed-off-by: Sven Nierlein <sven@nierlein.de>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_load.c b/plugins/check_load.c index a96435f4..b1cc498f 100644 --- a/plugins/check_load.c +++ b/plugins/check_load.c | |||
@@ -160,7 +160,7 @@ main (int argc, char **argv) | |||
160 | sscanf (input_buffer, "%*[^l]load averages: %lf, %lf, %lf", &la1, &la5, &la15); | 160 | sscanf (input_buffer, "%*[^l]load averages: %lf, %lf, %lf", &la1, &la5, &la15); |
161 | } | 161 | } |
162 | else { | 162 | else { |
163 | printf (_("could not parse load from uptime: %s\n"), result, PATH_TO_UPTIME); | 163 | printf (_("could not parse load from uptime %s: %s\n"), PATH_TO_UPTIME, result); |
164 | return STATE_UNKNOWN; | 164 | return STATE_UNKNOWN; |
165 | } | 165 | } |
166 | 166 | ||