]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
format/arg mismatch solaris
authorMark Andrews <marka@isc.org>
Tue, 20 Jul 2010 04:46:49 +0000 (04:46 +0000)
committerMark Andrews <marka@isc.org>
Tue, 20 Jul 2010 04:46:49 +0000 (04:46 +0000)
bin/named/server.c

index b77b0cce11c50c78232e42469db4f07d7fd3fa3e..c5f21054218e342a9034542f8955ba783ffacbbf 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: server.c,v 1.575 2010/07/19 06:13:28 marka Exp $ */
+/* $Id: server.c,v 1.576 2010/07/20 04:46:49 marka Exp $ */
 
 /*! \file */
 
@@ -7007,8 +7007,8 @@ ns_server_del_zone(ns_server_t *server, char *args) {
                size_t n;
 
                /* Create a temporary file */
-               CHECK(isc_string_printf(buf, 1023, "%s.%d", filename,
-                                       getpid()));
+               CHECK(isc_string_printf(buf, 1023, "%s.%ld", filename,
+                                       (long)getpid()));
                if (!(tmpname = isc_mem_strdup(server->mctx, buf))) {
                        result = ISC_R_NOMEMORY;
                        goto cleanup;