scsi_inquire_vpd(). scsi_inquire_vpd() oddness noted by jsg@ after
report of macppc problems by kili@.
-/* $OpenBSD: scsi_base.c,v 1.186 2010/07/24 04:01:52 matthew Exp $ */
+/* $OpenBSD: scsi_base.c,v 1.187 2010/07/25 15:39:32 krw Exp $ */
/* $NetBSD: scsi_base.c,v 1.43 1997/04/02 02:29:36 mycroft Exp $ */
/*
struct scsi_xfer *xs;
int error;
+ bzero(buf, buflen);
+
if (sc_link->flags & SDEV_UMASS)
return (EJUSTRETURN);
cmd->pagecode = page;
_lto2b(buflen, cmd->length);
- bzero(buf, buflen);
-
error = scsi_xs_sync(xs);
scsi_xs_put(xs);