From: Hallvard Furuseth Date: Thu, 31 May 2007 17:07:57 +0000 (+0000) Subject: Shut up gcc -Wformat X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~436 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9a9d216526e1d637e644696437e1175da4bf8efc;p=openldap Shut up gcc -Wformat --- diff --git a/libraries/libldap/test.c b/libraries/libldap/test.c index 7b87e9a90d..b3125301a2 100644 --- a/libraries/libldap/test.c +++ b/libraries/libldap/test.c @@ -277,7 +277,8 @@ main( int argc, char **argv ) char passwd[64], dn[256], rdn[64], attr[64], value[256]; char filter[256], *host, **types; char **exdn; - char *usage = "usage: %s [-u] [-h host] [-d level] [-s dnsuffix] [-p port] [-t file] [-T file]\n"; + static const char usage[] = + "usage: %s [-u] [-h host] [-d level] [-s dnsuffix] [-p port] [-t file] [-T file]\n"; int bound, all, scope, attrsonly; LDAPMessage *res; LDAPMod **mods, **attrs;