]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/test.c
Shut up gcc -Wformat
[openldap] / libraries / libldap / test.c
index 7b87e9a90d7a89de4d96a901ee1b007196a18a56..b3125301a2ce34bc06b9dc7e1e635bf34d13a64e 100644 (file)
@@ -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;