diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1996-06-17 18:52:53 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1996-06-17 18:52:53 +0000 |
| commit | e999a90a90cf4415d98f3785f8677cc3cb0c21c4 (patch) | |
| tree | 2861a5edf04e137ca41dd5e81262a68e3968fa09 /sys/dev | |
| parent | 0fd06e5d7cea6fdb1347c0e0b1089988d0d8ca39 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/si/si.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c index b249eddc24a0d..c74612af53f92 100644 --- a/sys/dev/si/si.c +++ b/sys/dev/si/si.c @@ -30,7 +30,7 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN * NO EVENT SHALL THE AUTHORS BE LIABLE. * - * $Id: si.c,v 1.43 1996/06/12 05:03:50 gpalmer Exp $ + * $Id: si.c,v 1.44 1996/06/16 13:32:16 peter Exp $ */ #ifndef lint @@ -1383,15 +1383,15 @@ si_Sioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p) /* these next three use a different structure */ case TCSI_PORT: SUCHECK; - sps->tc_siport = *xpp; + bcopy(xpp, &sps->tc_siport, sizeof(sps->tc_siport)); break; case TCSI_CCB: SUCHECK; - sps->tc_ccb = *xpp->sp_ccb; + bcopy((char *)xpp->sp_ccb, &sps->tc_ccb, sizeof(sps->tc_ccb)); break; case TCSI_TTY: SUCHECK; - sps->tc_tty = *xpp->sp_tty; + bcopy(xpp->sp_tty, &sps->tc_tty, sizeof(sps->tc_tty)); break; default: error = EINVAL; |
