aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ed
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2003-08-07 15:04:27 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2003-08-07 15:04:27 +0000
commit8b149b513139803ca0fce264d653c45dfbc557d2 (patch)
treed28ecab1cd6104f6189a11004e6d3615215cf931 /sys/dev/ed
parentcccd491d52980ce7206febb0d2bb7a314e7a9594 (diff)
Notes
Diffstat (limited to 'sys/dev/ed')
-rw-r--r--sys/dev/ed/if_ed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index 06a182595f18..bcc4671d1c63 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -3153,7 +3153,7 @@ ed_hpp_write_mbufs(struct ed_softc *sc, struct mbuf *m, int dst)
/* finish the last word of the previous mbuf */
if (wantbyte) {
savebyte[1] = *data;
- *d = *((ushort *) savebyte);
+ *d = *((u_short *) savebyte);
data++; len--; wantbyte = 0;
}
/* output contiguous words */