Remove some all-too-wordy debugging prints

This commit is contained in:
newton 2000-01-15 15:30:44 +00:00
parent bf5443aad0
commit 931fcb23e6
2 changed files with 0 additions and 10 deletions

View File

@ -74,16 +74,11 @@ svr4_sys_poll(p, uap)
error = cerr;
goto done;
}
DPRINTF(("poll(%x, %x, %d) = %d\n", SCARG(uap, fds), SCARG(uap, nfds),
SCARG(uap, timeout), p->p_retval[0]));
for (idx = 0; idx < SCARG(uap, nfds); idx++) {
/* POLLWRNORM already equals POLLOUT, so we don't worry about that */
if (pfd[idx].revents & (POLLOUT | POLLWRNORM | POLLWRBAND))
pfd[idx].revents |= (POLLOUT | POLLWRNORM | POLLWRBAND);
DPRINTF(("pollfd[%d]->fd = %d\n", idx, pfd[idx].fd));
DPRINTF(("pollfd[%d]->events = %x\n", idx, pfd[idx].events));
DPRINTF(("pollfd[%d]->revents = %x\n", idx, pfd[idx].revents));
}
if ((cerr = copyout(pfd, SCARG(uap, fds), siz)) != 0) {
error = cerr;

View File

@ -74,16 +74,11 @@ svr4_sys_poll(p, uap)
error = cerr;
goto done;
}
DPRINTF(("poll(%x, %x, %d) = %d\n", SCARG(uap, fds), SCARG(uap, nfds),
SCARG(uap, timeout), p->p_retval[0]));
for (idx = 0; idx < SCARG(uap, nfds); idx++) {
/* POLLWRNORM already equals POLLOUT, so we don't worry about that */
if (pfd[idx].revents & (POLLOUT | POLLWRNORM | POLLWRBAND))
pfd[idx].revents |= (POLLOUT | POLLWRNORM | POLLWRBAND);
DPRINTF(("pollfd[%d]->fd = %d\n", idx, pfd[idx].fd));
DPRINTF(("pollfd[%d]->events = %x\n", idx, pfd[idx].events));
DPRINTF(("pollfd[%d]->revents = %x\n", idx, pfd[idx].revents));
}
if ((cerr = copyout(pfd, SCARG(uap, fds), siz)) != 0) {
error = cerr;