aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";