aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2003-03-13 20:33:18 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2003-03-13 20:33:18 +0000
commit99be255ed1402825b1cca3dd6ba8d017a03ae127 (patch)
tree93f120035cf3d24f68659da846b590df92b84758
parent38ce77e3473755eda8b2487caa9ac473c7ec7581 (diff)
downloadmonitoring-plugins-99be255ed1402825b1cca3dd6ba8d017a03ae127.tar.gz
Fix compiler warnings re progname
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@419 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/check_tcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 4da2ea52..a7d8e6f2 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -16,7 +16,8 @@
*
*****************************************************************************/
-const char *progname = "check_tcp";
+/* progname changes depending on symlink called */
+char *progname = "check_tcp";
const char *revision = "$Revision$";
const char *copyright = "2002-2003";
const char *authors = "Nagios Plugin Development Team";