Fix debugging output, fallout from something like s/read/readctl/g

while renaming variables in a previous change.
This commit is contained in:
Ian Lepore 2017-12-18 00:15:53 +00:00
parent 7a177c2d5e
commit ae99239461
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326924

View File

@ -610,7 +610,7 @@ bcm_bsc_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs)
*/
if (sc->sc_replen == 0) {
DEVICE_DEBUGF(sc, 1, "%-6s 0x%02x len %d: ",
(curisread) ? "readctl" : "write", curslave,
(curisread) ? "read" : "write", curslave,
sc->sc_totlen);
curlen = sc->sc_totlen;
if (curisread) {
@ -622,7 +622,7 @@ bcm_bsc_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs)
}
} else {
DEVICE_DEBUGF(sc, 1, "%-6s 0x%02x len %d: ",
(curisread) ? "readctl" : "write", curslave,
(curisread) ? "read" : "write", curslave,
sc->sc_replen);
/*