]> 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:01:47 +0000 (13:01 +1000)
committerMark Andrews <marka@isc.org>
Tue, 24 Jul 2012 03:01:47 +0000 (13:01 +1000)
lib/dns/dst_parse.c

index a9b3afb31eab4fe988ce1d86ab206614d49a15b4..ca43cb3d124146ddfc3ce314b81a407c06e27215 100644 (file)
@@ -592,7 +592,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)