]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
cast mode to unsigned int for fprintf
authorMark Andrews <marka@isc.org>
Tue, 24 Jul 2012 03:03:05 +0000 (13:03 +1000)
committerMark Andrews <marka@isc.org>
Tue, 24 Jul 2012 03:03:05 +0000 (13:03 +1000)
lib/dns/dst_parse.c

index eeb607f5e602458050e56375e007d10f0f7f4481..71f600634f237016a71009fe9258f605854083f1 100644 (file)
@@ -565,7 +565,7 @@ dst__privstruct_writefile(const dst_key_t *key, const dst_private_t *priv,
                              "Permissions on the file %s "
                              "have changed from 0%o to 0600 as "
                              "a result of this operation.",
-                             filename, mode);
+                             filename, (unsigned int)mode);
        }
 
        if ((fp = fopen(filename, "w")) == NULL)