format/arg mismatch solaris

This commit is contained in:
Mark Andrews 2010-07-20 04:46:49 +00:00
parent 168903d09b
commit 0ddcd0c0ce

View 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;