]> git.sur5r.net Git - openldap/commitdiff
Add missing progname argument to fprintf
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 17 Aug 1999 21:10:48 +0000 (21:10 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 17 Aug 1999 21:10:48 +0000 (21:10 +0000)
servers/slapd/tools/slapcommon.c

index 05a041f48db54712495d7f80386676f8135cc440..8a678bac261988e604463a5fac1e0227d83c696f 100644 (file)
@@ -92,7 +92,8 @@ slap_tool_init(
                break;
 
        default:
-               fprintf( stderr, "%s: unknown tool mode (%d)\n", tool );
+               fprintf( stderr, "%s: unknown tool mode (%d)\n",
+                        progname, tool );
                exit( EXIT_FAILURE );
        }