diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2000-08-20 15:30:15 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2000-08-20 15:30:15 +0000 |
commit | d89ba315b05ef2cd7fa9a001561b6192bf3f2fa3 (patch) | |
tree | ab4efaee9f7765a72b3e3a2516e8bfb39f344e7f /sys/dev/usb/umodem.c | |
parent | 30c0d10f82e36dbd30c4b2e52011352799dd6f9a (diff) | |
download | FreeBSD-src-d89ba315b05ef2cd7fa9a001561b6192bf3f2fa3.zip FreeBSD-src-d89ba315b05ef2cd7fa9a001561b6192bf3f2fa3.tar.gz |
Unbreak LINT.
Diffstat (limited to 'sys/dev/usb/umodem.c')
-rw-r--r-- | sys/dev/usb/umodem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c index 53f3810..5a1a6e0 100644 --- a/sys/dev/usb/umodem.c +++ b/sys/dev/usb/umodem.c @@ -1122,7 +1122,7 @@ umodem_set_line_coding(sc, state) USBDEVNAME(sc->sc_dev), UGETDW(state->dwDTERate), state->bCharFormat, state->bParityType, state->bDataBits)); - if (memcmp(state, &sc->sc_line_state, UCDC_LINE_STATE_LENGTH) == 0) { + if (bcmp(state, &sc->sc_line_state, UCDC_LINE_STATE_LENGTH) == 0) { DPRINTF(("%s: umodem_set_line_coding: already set\n", USBDEVNAME(sc->sc_dev))); return (USBD_NORMAL_COMPLETION); |