diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c index 596860bfcfc4..4c9b4a79668e 100644 --- a/sys/dev/usb/umass.c +++ b/sys/dev/usb/umass.c @@ -3104,9 +3104,11 @@ umass_atapi_transform(struct umass_softc *sc, unsigned char *cmd, int cmdlen, case READ_12: case WRITE_12: default: - printf("%s: Unsupported ATAPI command 0x%02x\n", + printf("%s: Unsupported ATAPI command 0x%02x" + " - trying anyway\n", USBDEVNAME(sc->sc_dev), cmd[0]); - return 0; /* failure */ + memcpy(*rcmd, cmd, cmdlen); + return 1; } }