summaryrefslogtreecommitdiffstats
path: root/sbin/devd
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-07-23 23:50:00 +0000
committerimp <imp@FreeBSD.org>2003-07-23 23:50:00 +0000
commitb0747bd0098d542b22577c813b8a74ca7538cca6 (patch)
tree9bb6af4e3f8c2e843e7dd6d96dd023003acf55a1 /sbin/devd
parentc43dfc354a92b4cece8ba9f0af8804e3ee4b60ae (diff)
downloadFreeBSD-src-b0747bd0098d542b22577c813b8a74ca7538cca6.zip
FreeBSD-src-b0747bd0098d542b22577c813b8a74ca7538cca6.tar.gz
Remove old workaround
Diffstat (limited to 'sbin/devd')
-rw-r--r--sbin/devd/devd.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/devd/devd.cc b/sbin/devd/devd.cc
index 288e90a..bc2e8f6 100644
--- a/sbin/devd/devd.cc
+++ b/sbin/devd/devd.cc
@@ -590,9 +590,7 @@ event_loop(void)
FD_SET(fd, &fds);
rv = select(fd + 1, &fds, &fds, &fds, &tv);
// No events -> we've processed all pending events
- // == 2 is a kernel bug, but we hang if we don't
- // make allowances for a while.
- if (rv == 0 || rv == 2) {
+ if (rv == 0) {
if (Dflag)
fprintf(stderr, "Calling daemon\n");
daemon(0, 0);
OpenPOWER on IntegriCloud