hyperv/ic: Minor style fix.

MFC after:	1 week
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D7743
This commit is contained in:
Sepherosa Ziehau 2016-09-02 06:08:08 +00:00
parent 772b86ba12
commit 9c040f41df
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305279

View File

@ -69,7 +69,7 @@ vmbus_heartbeat_cb(struct vmbus_channel *chan, void *xsc)
if (error)
return;
if (dlen < sizeof(struct vmbus_icmsg_hdr)) {
if (dlen < sizeof(*hdr)) {
device_printf(sc->ic_dev, "invalid data len %d\n", dlen);
return;
}