From 9d704527496ac715e24bcc844b39125022c0aabc Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Fri, 3 Dec 2004 08:45:22 +0000 Subject: correcting copyright and remaning int result = STATE_UNKNOWN; git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@987 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/plugins/check_ide-smart.c b/plugins/check_ide-smart.c index 09231aa..6ceebe2 100644 --- a/plugins/check_ide-smart.c +++ b/plugins/check_ide-smart.c @@ -376,6 +376,7 @@ show_version () printf ("check_ide-smart v.1 - FREE Software with NO WARRANTY\n"); printf ("Nagios feature - Robert Dale \n"); printf ("(C) 1999 Ragnar Hojland Espinosa \n"); + printf (COPYRIGHT, copyright, email); } diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index de76735..a8e84e2 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. int main (int argc, char **argv) { - int elapsed_time, status; + int elapsed_time; + int status = STATE_UNKNOWN; /* begin, by setting the parameters for a backend connection if the * parameters are null, then the system will try to use reasonable -- cgit v0.10-9-g596f