projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ovsdb-tool: Make "query" and "transact" commands work properly.
[openvswitch]
/
lib
/
poll-loop.c
diff --git
a/lib/poll-loop.c
b/lib/poll-loop.c
index aff2c335c732b88a0afa9152422d038c25b06039..26a17e83f80f8eafb36172da2b5b783b64fdefd6 100644
(file)
--- a/
lib/poll-loop.c
+++ b/
lib/poll-loop.c
@@
-253,7
+253,7
@@
poll_cancel(struct poll_waiter *pw)
static struct poll_waiter *
new_waiter(int fd, short int events)
{
- struct poll_waiter *waiter = x
calloc(1,
sizeof *waiter);
+ struct poll_waiter *waiter = x
zalloc(
sizeof *waiter);
assert(fd >= 0);
waiter->fd = fd;
waiter->events = events;