[svn-commits] fjoe: freebsd/trunk r10744 - /freebsd/trunk/drivers/dahdi/wctc4xxp/base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat May 10 02:55:53 CDT 2014


Author: fjoe
Date: Sat May 10 02:55:48 2014
New Revision: 10744

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10744
Log:
Fix clang build.

Modified:
    freebsd/trunk/drivers/dahdi/wctc4xxp/base.c

Modified: freebsd/trunk/drivers/dahdi/wctc4xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/freebsd/trunk/drivers/dahdi/wctc4xxp/base.c?view=diff&rev=10744&r1=10743&r2=10744
==============================================================================
--- freebsd/trunk/drivers/dahdi/wctc4xxp/base.c (original)
+++ freebsd/trunk/drivers/dahdi/wctc4xxp/base.c Sat May 10 02:55:48 2014
@@ -2423,8 +2423,8 @@
 
 	if (unlikely(count > SFRAME_SIZE - sizeof(struct rtp_packet))) {
 		DTE_DEBUG(DTE_DEBUG_GENERAL,
-		   "Cannot transcode packet of %Zu bytes. This exceeds the " \
-		   "maximum size of %Zu bytes.\n", count,
+		   "Cannot transcode packet of %zu bytes. This exceeds the " \
+		   "maximum size of %zu bytes.\n", count,
 		   SFRAME_SIZE - sizeof(struct rtp_packet));
 		return -EINVAL;
 	}
@@ -2434,7 +2434,7 @@
 		    (G723_SID_BYTES != count)) {
 			DTE_DEBUG(DTE_DEBUG_GENERAL,
 			   "Trying to transcode packet into G723 format " \
-			   "that is %Zu bytes instead of the expected " \
+			   "that is %zu bytes instead of the expected " \
 			   "%d/%d/%d bytes.\n", count, G723_5K_BYTES,
 			   G723_6K_BYTES, G723_SID_BYTES);
 			return -EINVAL;
@@ -2465,7 +2465,7 @@
 	cpvt->seqno += 1;
 
 	DTE_DEBUG(DTE_DEBUG_RTP_TX,
-	    "Sending packet of %Zu byte on channel (%p).\n", count, dtc);
+	    "Sending packet of %zu byte on channel (%p).\n", count, dtc);
 
 	atomic_inc(&cpvt->stats.packets_sent);
 	wctc4xxp_transmit_cmd(wc, cmd);




More information about the svn-commits mailing list