diff options
-rw-r--r-- | sys/dev/ata/atascsi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ata/atascsi.c b/sys/dev/ata/atascsi.c index 3d19bbc7133..f9f89edf3e1 100644 --- a/sys/dev/ata/atascsi.c +++ b/sys/dev/ata/atascsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atascsi.c,v 1.100 2011/01/26 21:41:00 drahn Exp $ */ +/* $OpenBSD: atascsi.c,v 1.101 2011/02/03 21:22:19 matthew Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -1539,6 +1539,7 @@ atascsi_pmp_inq(struct scsi_xfer *xs) return; } + bzero(&inq, sizeof(inq)); inq.device = 0x1E; /* "well known logical unit" seems reasonable */ inq.version = 0x05; /* SPC-3? */ inq.response_format = 2; |