diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/check_ide-smart.c | 1 | ||||
| -rw-r--r-- | plugins/check_pgsql.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/plugins/check_ide-smart.c b/plugins/check_ide-smart.c index 09231aa0..6ceebe25 100644 --- a/plugins/check_ide-smart.c +++ b/plugins/check_ide-smart.c | |||
| @@ -376,6 +376,7 @@ show_version () | |||
| 376 | printf ("check_ide-smart v.1 - FREE Software with NO WARRANTY\n"); | 376 | printf ("check_ide-smart v.1 - FREE Software with NO WARRANTY\n"); |
| 377 | printf ("Nagios feature - Robert Dale <rdale@digital-mission.com>\n"); | 377 | printf ("Nagios feature - Robert Dale <rdale@digital-mission.com>\n"); |
| 378 | printf ("(C) 1999 Ragnar Hojland Espinosa <ragnar@lightside.dhis.org>\n"); | 378 | printf ("(C) 1999 Ragnar Hojland Espinosa <ragnar@lightside.dhis.org>\n"); |
| 379 | printf (COPYRIGHT, copyright, email); | ||
| 379 | } | 380 | } |
| 380 | 381 | ||
| 381 | 382 | ||
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index de76735b..a8e84e23 100644 --- a/plugins/check_pgsql.c +++ b/plugins/check_pgsql.c | |||
| @@ -121,7 +121,8 @@ Please note that all tags must be lowercase to use the DocBook XML DTD. | |||
| 121 | int | 121 | int |
| 122 | main (int argc, char **argv) | 122 | main (int argc, char **argv) |
| 123 | { | 123 | { |
| 124 | int elapsed_time, status; | 124 | int elapsed_time; |
| 125 | int status = STATE_UNKNOWN; | ||
| 125 | 126 | ||
| 126 | /* begin, by setting the parameters for a backend connection if the | 127 | /* begin, by setting the parameters for a backend connection if the |
| 127 | * parameters are null, then the system will try to use reasonable | 128 | * parameters are null, then the system will try to use reasonable |
