smbd: Fix format errors on FreeBSD10
authorVolker Lendecke <vl@samba.org>
Fri, 24 Jan 2014 09:08:41 +0000 (10:08 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 24 Jan 2014 21:42:38 +0000 (13:42 -0800)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/sysquotas_nfs.c

index 63f114b057fdab3b4fc68cf42c9fce9dc8031e58..2b0e494aef77b4b6d6c191d794ffe7341111967e 100644 (file)
@@ -155,7 +155,7 @@ int sys_get_nfs_quota(const char *path, const char *bdev,
 
        DEBUG(10, ("sys_get_nfs_quotas: Asking for quota of path '%s' on "
                   "host '%s', rpcprog '%i', rpcvers '%i', network '%s'\n",
-                   host, testpath+1, RQUOTAPROG, RQUOTAVERS, "udp"));
+                  host, testpath+1, (int)RQUOTAPROG, (int)RQUOTAVERS, "udp"));
 
        clnt = clnt_create(host, RQUOTAPROG, RQUOTAVERS, "udp");
        if (clnt == NULL) {