diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-02-07 04:54:40 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-02-07 04:54:40 -0500 |
| commit | f0d975f752df74385fd268427d5f5cfef7ea9049 (patch) | |
| tree | be8895439fb42d71b731695c90cf5abf7784a7f1 /lib/thread.c | |
| parent | f96872f001495b6ba8cd6e8ff0e4ea37f2ff0199 (diff) | |
lib: Fixup CR comment
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/thread.c')
| -rw-r--r-- | lib/thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/thread.c b/lib/thread.c index e4b83eaf86..5b8778b717 100644 --- a/lib/thread.c +++ b/lib/thread.c @@ -489,8 +489,8 @@ thread_master_create (void) #if defined(HAVE_POLL) rv->handler.pfdsize = rv->fd_limit; rv->handler.pfdcount = 0; - rv->handler.pfds = (struct pollfd *) XCALLOC (MTYPE_THREAD_MASTER, - sizeof (struct pollfd) * rv->handler.pfdsize); + rv->handler.pfds = XCALLOC (MTYPE_THREAD_MASTER, + sizeof (struct pollfd) * rv->handler.pfdsize); #endif return rv; } |
