summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-10-16 03:59:25 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-10-16 03:59:25 +0000
commit46575797d88f0503e23e538f6cbb6d176c26d86d (patch)
treec28182385811383e9a49a56ea73f4fba4ae827c1 /sys/arch/sparc64
parent95eef65c04b113d544809e6ed0cfc151a1b7d3e5 (diff)
unbreak build
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/dev/vdsk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/vdsk.c b/sys/arch/sparc64/dev/vdsk.c
index 330e4ec7fa8..3bd4b457c65 100644
--- a/sys/arch/sparc64/dev/vdsk.c
+++ b/sys/arch/sparc64/dev/vdsk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vdsk.c,v 1.69 2020/10/15 13:22:12 krw Exp $ */
+/* $OpenBSD: vdsk.c,v 1.70 2020/10/16 03:59:24 jsg Exp $ */
/*
* Copyright (c) 2009, 2011 Mark Kettenis
*
@@ -1178,7 +1178,7 @@ vdsk_scsi_inquiry(struct scsi_xfer *xs)
snprintf(buf, sizeof(buf), "%u.%u ", sc->sc_major, sc->sc_minor);
bcopy(buf, inq.revision, sizeof(inq.revision));
- scsi_copy_internal_data(xs, &inq, sizoef(inq));
+ scsi_copy_internal_data(xs, &inq, sizeof(inq));
vdsk_scsi_done(xs, XS_NOERROR);
}