From 9a9d216526e1d637e644696437e1175da4bf8efc Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Thu, 31 May 2007 17:07:57 +0000 Subject: [PATCH] Shut up gcc -Wformat --- libraries/libldap/test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5