Merge "Remove stray log line."

This commit is contained in:
Narayan Kamath 2015-02-09 18:57:50 +00:00 committed by Gerrit Code Review
commit f69139e105

View File

@ -30,10 +30,7 @@
#include <poll.h>
#include "private/libc_logging.h"
#include <stdio.h>
extern "C" int __poll_chk(struct pollfd* fds, nfds_t fd_count, int timeout, size_t fds_size) {
fprintf(stderr, "__poll_chk %p %i %i %i\n", fds, (int)fd_count, timeout, (int) fds_size);
if (__predict_false(fds_size / sizeof(*fds) < fd_count)) {
__fortify_chk_fail("poll: pollfd array smaller than fd count", 0);
}
@ -41,7 +38,6 @@ fprintf(stderr, "__poll_chk %p %i %i %i\n", fds, (int)fd_count, timeout, (int) f
}
extern "C" int __ppoll_chk(struct pollfd* fds, nfds_t fd_count, const struct timespec* timeout, const sigset_t* mask, size_t fds_size) {
fprintf(stderr, "__ppoll_chk %p %i %p %p %i\n", fds, (int)fd_count, timeout, mask, (int) fds_size);
if (__predict_false(fds_size / sizeof(*fds) < fd_count)) {
__fortify_chk_fail("ppoll: pollfd array smaller than fd count", 0);
}