aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_ldap.c
diff options
context:
space:
mode:
authorGravatar Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> 2007-01-20 07:18:12 +0000
committerGravatar Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> 2007-01-20 07:18:12 +0000
commit2c25c058289e2f999a2b3cff20d10f19bdea6196 (patch)
treea01f1e872ac01efffa72a92eed879284f7929ae5 /plugins/check_ldap.c
parent79a607391a105a51d9ed47bb2b457b5ab5163a68 (diff)
downloadmonitoring-plugins-2c25c058289e2f999a2b3cff20d10f19bdea6196.tar.gz
Fix bug #1632091: printf format string typos. Add some more cosmetic changes.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1570 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ldap.c')
-rw-r--r--plugins/check_ldap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c
index a7424305..60872cfd 100644
--- a/plugins/check_ldap.c
+++ b/plugins/check_ldap.c
@@ -378,9 +378,9 @@ print_help (void)
printf (" %s\n", _("ldap attribute to search (default: \"(objectclass=*)\""));
printf (" %s\n", "-b [--base]");
printf (" %s\n", _("ldap base (eg. ou=my unit, o=my org, c=at"));
- printf (" %s\n," "-D [--bind]");
+ printf (" %s\n", "-D [--bind]");
printf (" %s\n", _("ldap bind DN (if required)"));
- printf (" %s\n," "-P [--pass]");
+ printf (" %s\n", "-P [--pass]");
printf (" %s\n", _("ldap password (if required)"));
#ifdef HAVE_LDAP_SET_OPTION
@@ -410,9 +410,9 @@ print_usage (void)
{
printf (_("Usage:"));
printf (" %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]",progname);
- printf ("[-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]\n",
+ printf ("\n [-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]%s\n",
#ifdef HAVE_LDAP_SET_OPTION
- " [-2|-3] [-4|-6]"
+ "\n [-2|-3] [-4|-6]"
#else
""
#endif