svn commit: r228303 - head/sys/dev/usb/wlan
Hans Petter Selasky
hselasky at FreeBSD.org
Tue Dec 6 07:55:25 UTC 2011
Author: hselasky
Date: Tue Dec 6 07:55:25 2011
New Revision: 228303
URL: http://svn.freebsd.org/changeset/base/228303
Log:
Fix compile warning when using clang to compile the code.
Submitted by: arundel @
MFC after: 3 days
Modified:
head/sys/dev/usb/wlan/if_zyd.c
Modified: head/sys/dev/usb/wlan/if_zyd.c
==============================================================================
--- head/sys/dev/usb/wlan/if_zyd.c Tue Dec 6 06:40:14 2011 (r228302)
+++ head/sys/dev/usb/wlan/if_zyd.c Tue Dec 6 07:55:25 2011 (r228303)
@@ -686,7 +686,7 @@ zyd_intr_read_callback(struct usb_xfer *
memcpy(rqp->odata, cmd->data, rqp->olen);
DPRINTF(sc, ZYD_DEBUG_CMD,
"command %p complete, data = %*D \n",
- rqp, rqp->olen, rqp->odata, ":");
+ rqp, rqp->olen, (char *)rqp->odata, ":");
wakeup(rqp); /* wakeup caller */
break;
}
More information about the svn-src-all
mailing list