Just an INFSLP, easy.

ok?

Index: pci/pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/pci.c,v
retrieving revision 1.114
diff -u -p -r1.114 pci.c
--- pci/pci.c   25 Jun 2019 16:46:32 -0000      1.114
+++ pci/pci.c   15 Jan 2020 06:51:29 -0000
@@ -1419,8 +1419,8 @@ pciioctl(dev_t dev, u_long cmd, caddr_t 
                while (pci_vga_proc != p && pci_vga_proc != NULL) {
                        if (vga->pv_lock == PCI_VGA_TRYLOCK)
                                return (EBUSY);
-                       error = tsleep(&pci_vga_proc, PLOCK | PCATCH,
-                           "vgalk", 0);
+                       error = tsleep_nsec(&pci_vga_proc, PLOCK | PCATCH,
+                           "vgalk", INFSLP);
                        if (error)
                                return (error);
                }

Reply via email to