artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce414e9
)
unnecessary cast
author
deraadt
<deraadt@openbsd.org>
Sun, 11 Jan 2015 02:57:09 +0000
(
02:57
+0000)
committer
deraadt
<deraadt@openbsd.org>
Sun, 11 Jan 2015 02:57:09 +0000
(
02:57
+0000)
sys/dev/wscons/wsevent.c
patch
|
blob
|
history
diff --git
a/sys/dev/wscons/wsevent.c
b/sys/dev/wscons/wsevent.c
index
6dda88f
..
6b8d37a
100644
(file)
--- a/
sys/dev/wscons/wsevent.c
+++ b/
sys/dev/wscons/wsevent.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: wsevent.c,v 1.1
0 2014/09/14 14:17:25 jsg
Exp $ */
+/* $OpenBSD: wsevent.c,v 1.1
1 2015/01/11 02:57:09 deraadt
Exp $ */
/* $NetBSD: wsevent.c,v 1.16 2003/08/07 16:31:29 agc Exp $ */
/*
@@
-100,7
+100,7
@@
wsevent_init(struct wseventvar *ev)
return;
}
ev->get = ev->put = 0;
- ev->q = malloc(
(u_long)
WSEVENT_QSIZE * sizeof(struct wscons_event),
+ ev->q = malloc(WSEVENT_QSIZE * sizeof(struct wscons_event),
M_DEVBUF, M_WAITOK | M_ZERO);
}