1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

In umass_bbb_get_max_lun() move maxlun to before the DPRINTF so that

the actual number of LUNs is printed.
This commit is contained in:
Gary Jennejohn 2003-09-20 08:18:16 +00:00
parent 45a3024ec7
commit eb3c983360
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120278

View File

@ -1644,9 +1644,9 @@ umass_bbb_get_max_lun(struct umass_softc *sc)
err = usbd_do_request(udev, &req, &buf);
switch (err) {
case USBD_NORMAL_COMPLETION:
maxlun = buf;
DPRINTF(UDMASS_BBB, ("%s: Max Lun is %d\n",
USBDEVNAME(sc->sc_dev), maxlun));
maxlun = buf;
break;
case USBD_STALLED:
case USBD_SHORT_XFER: