diff options
| author | uwe <uwe@NetBSD.org> | 2005-09-30 23:16:26 +0000 |
|---|---|---|
| committer | uwe <uwe@NetBSD.org> | 2005-09-30 23:16:26 +0000 |
| commit | e97ebbc6c84a46f07a72d875cbc2bc4e244e581b (patch) | |
| tree | cb63db193827fcd938a2bb7132c81d7576de8726 /sys | |
| parent | 774136f54f4866768cbf17d423ea37709c5e5417 (diff) | |
Minor KNF police.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/ic/igsfb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/igsfb.c b/sys/dev/ic/igsfb.c index 87416a9d0b0..fd83cb55a1a 100644 --- a/sys/dev/ic/igsfb.c +++ b/sys/dev/ic/igsfb.c @@ -1,4 +1,4 @@ -/* $NetBSD: igsfb.c,v 1.23 2005/09/30 22:28:19 macallan Exp $ */ +/* $NetBSD: igsfb.c,v 1.24 2005/09/30 23:16:26 uwe Exp $ */ /* * Copyright (c) 2002, 2003 Valeriy E. Ushakov @@ -31,7 +31,7 @@ * Integraphics Systems IGA 168x and CyberPro series. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: igsfb.c,v 1.23 2005/09/30 22:28:19 macallan Exp $"); +__KERNEL_RCSID(0, "$NetBSD: igsfb.c,v 1.24 2005/09/30 23:16:26 uwe Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -703,9 +703,8 @@ igsfb_ioctl(v, cmd, data, flag, p) return (igsfb_get_cursor(dc, (struct wsdisplay_cursor *)data)); case WSDISPLAYIO_SCURSOR: - if (cursor_busy) { + if (cursor_busy) return (EBUSY); - } return (igsfb_set_cursor(dc, (struct wsdisplay_cursor *)data)); } @@ -923,6 +922,7 @@ igsfb_set_cursor(dc, p) cc = &dc->dc_cursor; v = p->which; index = count = icount = iwidth = 0; /* XXX: gcc */ + /* copy in the new cursor colormap */ if (v & WSDISPLAY_CURSOR_DOCMAP) { index = p->cmap.index; |
