diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-08-01 13:51:20 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-08-01 13:51:20 +0000 |
commit | e6c966b615696f7a8f4d3c2c3fda5dcaed7d3f67 (patch) | |
tree | 42de716832f0c4a3c4e616390572a4a8d679dbd2 /sys/dev/wscons/wsevent.c | |
parent | 389a0a4582e6890e967b7827708a1462222bcaf5 (diff) |
update wscons, nothing serious, mostly api fixes for us; from netbsd through aaron@
Diffstat (limited to 'sys/dev/wscons/wsevent.c')
-rw-r--r-- | sys/dev/wscons/wsevent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/wscons/wsevent.c b/sys/dev/wscons/wsevent.c index 8efece5980f..83b4f728e59 100644 --- a/sys/dev/wscons/wsevent.c +++ b/sys/dev/wscons/wsevent.c @@ -1,5 +1,5 @@ -/* $OpenBSD: wsevent.c,v 1.1 2000/05/16 23:49:12 mickey Exp $ */ -/* $NetBSD: wsevent.c,v 1.4 2000/01/05 11:19:37 drochner Exp $ */ +/* $OpenBSD: wsevent.c,v 1.2 2000/08/01 13:51:18 mickey Exp $ */ +/* $NetBSD: wsevent.c,v 1.5 2000/03/30 12:45:44 augustss Exp $ */ /* * Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved. @@ -104,7 +104,7 @@ wsevent_init(ev) ev->get = ev->put = 0; ev->q = malloc((u_long)WSEVENT_QSIZE * sizeof(struct wscons_event), M_DEVBUF, M_WAITOK); - bzero((caddr_t)ev->q, WSEVENT_QSIZE * sizeof(struct wscons_event)); + memset((caddr_t)ev->q, 0, WSEVENT_QSIZE * sizeof(struct wscons_event)); } /* |