summaryrefslogtreecommitdiffstats
path: root/sys/dev/digi/digi.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-08-07 15:04:27 +0000
committerjhb <jhb@FreeBSD.org>2003-08-07 15:04:27 +0000
commit37641f86f1a209d796b3679ab72c92f2ace89fb7 (patch)
treed28ecab1cd6104f6189a11004e6d3615215cf931 /sys/dev/digi/digi.c
parent450c201b698a84880b8cd2d816cbc526ddc72f4a (diff)
downloadFreeBSD-src-37641f86f1a209d796b3679ab72c92f2ace89fb7.zip
FreeBSD-src-37641f86f1a209d796b3679ab72c92f2ace89fb7.tar.gz
Consistently use the BSD u_int and u_short instead of the SYSV uint and
ushort. In most of these files, there was a mixture of both styles and this change just makes them self-consistent. Requested by: bde (kern_ktrace.c)
Diffstat (limited to 'sys/dev/digi/digi.c')
-rw-r--r--sys/dev/digi/digi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/digi/digi.c b/sys/dev/digi/digi.c
index 22f1b2e..8c3656b 100644
--- a/sys/dev/digi/digi.c
+++ b/sys/dev/digi/digi.c
@@ -1815,7 +1815,7 @@ fepcmd(struct digi_p *port, int cmd, int op1, int ncmds)
head = port->sc->gdata->cin;
mem[head + 0] = cmd;
mem[head + 1] = port->pnum;
- *(ushort *)(mem + head + 2) = op1;
+ *(u_short *)(mem + head + 2) = op1;
head = (head + 4) & port->sc->gdata->cmax;
port->sc->gdata->cin = head;
OpenPOWER on IntegriCloud