--- src/sys/dev/video/fb/vgareg.h 2005/07/10 13:06:18 1.6 +++ src/sys/dev/video/fb/vgareg.h 2006/07/28 02:17:39 1.7 @@ -82,13 +82,12 @@ int vga_attach_unit(int unit, vga_softc #ifdef FB_INSTALL_CDEV int vga_open(dev_t dev, vga_softc_t *sc, int flag, int mode, - struct thread *td); -int vga_close(dev_t dev, vga_softc_t *sc, int flag, int mode, - struct thread *td); + struct ucred *cred); +int vga_close(dev_t dev, vga_softc_t *sc, int flag, int mode); int vga_read(dev_t dev, vga_softc_t *sc, struct uio *uio, int flag); int vga_write(dev_t dev, vga_softc_t *sc, struct uio *uio, int flag); int vga_ioctl(dev_t dev, vga_softc_t *sc, u_long cmd, caddr_t arg, - int flag, struct thread *td); + int flag, struct ucred *cred); int vga_mmap(dev_t dev, vga_softc_t *sc, vm_offset_t offset, int prot); #endif