[Nagiosplug-checkins] nagiosplug/plugins check_pgsql.c,1.29,1.30

Matthew Kent mattkent at users.sourceforge.net
Thu Dec 9 21:55:01 CET 2004

Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19548

Modified Files:
Log Message:
Fixing broken compile

Index: check_pgsql.c
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_pgsql.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- check_pgsql.c	3 Dec 2004 23:55:29 -0000	1.29
+++ check_pgsql.c	10 Dec 2004 05:54:01 -0000	1.30
@@ -403,7 +403,7 @@
 	printf (_(UT_IPv46));
-	printf (S_("\
+	printf (_("\
   -d, --database=STRING\n\
     Database to check (default: %s)\n\
   -l, --logname = STRING\n\
@@ -417,18 +417,18 @@
 	printf (_(UT_VERBOSE));
-	printf (S_("\nAll parameters are optional.\n\
+	printf (_("\nAll parameters are optional.\n\
 This plugin tests a PostgreSQL DBMS to determine whether it is active and\n\
 accepting queries. In its current operation, it simply connects to the\n\
 specified database, and then disconnects. If no database is specified, it\n\
 connects to the template1 database, which is present in every functioning \n\
 PostgreSQL DBMS.\n"));
-	printf (S_("\n\
+	printf (_("\n\
 The plugin will connect to a local postmaster if no host is specified. To\n\
 connect to a remote host, be sure that the remote postmaster accepts TCP/IP\n\
 connections (start the postmaster with the -i option).\n"));
-	printf (S_("\n\
+	printf (_("\n\
 Typically, the nagios user (unless the --logname option is used) should be\n\
 able to connect to the database without a password. The plugin can also send\n\
 a password, but no effort is made to obsure or encrypt the password.\n"));

More information about the Commits mailing list