⬢ DragonFlyBSD Kernel Audit
DF-5029 / fix.diff
← back to finding ↓ download raw
--- a/sys/dev/misc/pcfclock/pcfclock.c
+++ b/sys/dev/misc/pcfclock/pcfclock.c
@@ -150,7 +150,8 @@
 		return (ENXIO);
 
 	if ((res = ppb_request_bus(ppbus, pcfclockdev,
-		(ap->a_oflags & O_NONBLOCK) ? PPB_DONTWAIT : PPB_WAIT)))
+		(ap->a_oflags & O_NONBLOCK) ? PPB_DONTWAIT :
+		    (PPB_WAIT | PPB_INTR))))
 		return (res);
 
 	sc->count++;