diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-07-15 19:29:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-07-15 19:29:28 +0000 |
commit | b6dac4ff173939220615f1255ce70a4ff32bd269 (patch) | |
tree | 50180e882996b92174d70d33b5030d2980708899 /sys/dev/ic/sti.c | |
parent | 3f47b93dce7330e346a8c804cc4a76cc4069f84d (diff) |
fix typos in previous
Diffstat (limited to 'sys/dev/ic/sti.c')
-rw-r--r-- | sys/dev/ic/sti.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/sti.c b/sys/dev/ic/sti.c index d4628e54f7a..25bcbb1468a 100644 --- a/sys/dev/ic/sti.c +++ b/sys/dev/ic/sti.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sti.c,v 1.82 2022/07/15 17:57:26 kettenis Exp $ */ +/* $OpenBSD: sti.c,v 1.83 2022/07/15 19:29:27 deraadt Exp $ */ /* * Copyright (c) 2000-2003 Michael Shalayeff @@ -1115,9 +1115,9 @@ sti_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p) wdf->width = scr->scr_cfg.scr_width; wdf->depth = scr->scr_bpp; if (scr->scr_bpp > 8) - wdf->stride = scr->sc_cfg.fb_width * 4; + wdf->stride = scr->scr_cfg.fb_width * 4; else - wdf->stride = src->sc_cfg.fb_width; + wdf->stride = scr->scr_cfg.fb_width; wdf->offset = 0; if (scr->putcmap == NULL || scr->scr_bpp > 8) wdf->cmsize = 0; |