summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-03-07 03:05:16 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-03-07 03:05:16 +0000
commitb0f3193acd48ed11bcfc94633f10289f08567023 (patch)
tree32e839ce30706f85ae212bdb0a0257c265ad15f8 /sys
parent0b7a08da3bb614e3c17853362d430f0265519262 (diff)
more stuff
Diffstat (limited to 'sys')
-rw-r--r--sys/scsi/ss.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/scsi/ss.c b/sys/scsi/ss.c
index 23981f3a157..47fb0080479 100644
--- a/sys/scsi/ss.c
+++ b/sys/scsi/ss.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ss.c,v 1.10 1997/03/06 12:44:41 kstailey Exp $ */
+/* $OpenBSD: ss.c,v 1.11 1997/03/07 03:05:15 kstailey Exp $ */
/* $NetBSD: ss.c,v 1.10 1996/05/05 19:52:55 christos Exp $ */
/*
@@ -511,7 +511,9 @@ ss_set_window(sc, sio)
bzero(&window_data, sizeof(window_data));
_lto2l(sio->sio.scan_x_resolution, window_data.x_res);
_lto2l(sio->sio.scan_y_resolution, window_data.y_res);
- _lto2l(sio->, window_data.x_org);
- _lto2l(sio->, window_data.y_org);
+ _lto4l(sio->sio.scan_x_origin, window_data.x_org);
+ _lto4l(sio->sio.scan_y_origin, window_data.y_org);
+ _lto4l(sio->sio.scan_width, window_data.width);
+ _lto4l(sio->sio.scan_height, window_data.length);
}
#endif