am f69139e1
: Merge "Remove stray log line."
* commit 'f69139e105ef32199afdf35027e9dfc48ad215d7': Remove stray log line.
This commit is contained in:
commit
e163cb28b9
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue