=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sndiod/file.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/sndiod/file.c 2012/12/07 08:04:58 1.2 --- src/usr.bin/sndiod/file.c 2013/02/01 09:06:27 1.3 *************** *** 1,4 **** ! /* $OpenBSD: file.c,v 1.2 2012/12/07 08:04:58 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * --- 1,4 ---- ! /* $OpenBSD: file.c,v 1.3 2013/02/01 09:06:27 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * *************** *** 383,389 **** #ifdef DEBUG clock_gettime(CLOCK_MONOTONIC, &ts0); #endif ! revents = f->ops->revents(f->arg, f->pfd); if ((revents & POLLHUP) && (f->state != FILE_ZOMB)) f->ops->hup(f->arg); if ((revents & POLLIN) && (f->state != FILE_ZOMB)) --- 383,390 ---- #ifdef DEBUG clock_gettime(CLOCK_MONOTONIC, &ts0); #endif ! revents = (f->state != FILE_ZOMB) ? ! f->ops->revents(f->arg, f->pfd) : 0; if ((revents & POLLHUP) && (f->state != FILE_ZOMB)) f->ops->hup(f->arg); if ((revents & POLLIN) && (f->state != FILE_ZOMB))