summaryrefslogtreecommitdiffstats
path: root/plugins/check_ldap.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2007-01-20 07:18:12 +0000
committerThomas 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)
378 printf (" %s\n", _("ldap attribute to search (default: \"(objectclass=*)\"")); 378 printf (" %s\n", _("ldap attribute to search (default: \"(objectclass=*)\""));
379 printf (" %s\n", "-b [--base]"); 379 printf (" %s\n", "-b [--base]");
380 printf (" %s\n", _("ldap base (eg. ou=my unit, o=my org, c=at")); 380 printf (" %s\n", _("ldap base (eg. ou=my unit, o=my org, c=at"));
381 printf (" %s\n," "-D [--bind]"); 381 printf (" %s\n", "-D [--bind]");
382 printf (" %s\n", _("ldap bind DN (if required)")); 382 printf (" %s\n", _("ldap bind DN (if required)"));
383 printf (" %s\n," "-P [--pass]"); 383 printf (" %s\n", "-P [--pass]");
384 printf (" %s\n", _("ldap password (if required)")); 384 printf (" %s\n", _("ldap password (if required)"));
385 385
386#ifdef HAVE_LDAP_SET_OPTION 386#ifdef HAVE_LDAP_SET_OPTION
@@ -410,9 +410,9 @@ print_usage (void)
410{ 410{
411 printf (_("Usage:")); 411 printf (_("Usage:"));
412 printf (" %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]",progname); 412 printf (" %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]",progname);
413 printf ("[-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]\n", 413 printf ("\n [-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]%s\n",
414#ifdef HAVE_LDAP_SET_OPTION 414#ifdef HAVE_LDAP_SET_OPTION
415 " [-2|-3] [-4|-6]" 415 "\n [-2|-3] [-4|-6]"
416#else 416#else
417 "" 417 ""
418#endif 418#endif