am f69139e1: Merge "Remove stray log line."

* commit 'f69139e105ef32199afdf35027e9dfc48ad215d7':
  Remove stray log line.
This commit is contained in:
Narayan Kamath 2015-02-09 19:05:16 +00:00 committed by Android Git Automerger
commit e163cb28b9

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);
}