diff options
Diffstat (limited to 'vidix/sysdep/pci_bsdi.c')
-rw-r--r-- | vidix/sysdep/pci_bsdi.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vidix/sysdep/pci_bsdi.c b/vidix/sysdep/pci_bsdi.c index b6b142054d..982f725a9b 100644 --- a/vidix/sysdep/pci_bsdi.c +++ b/vidix/sysdep/pci_bsdi.c @@ -18,13 +18,13 @@ static __inline__ int enable_os_io(void) io_fd = -1 ; if ((io_fd = open("/dev/console", O_RDWR, 0)) < 0) { perror("/dev/console"); - return(errno); + return errno; } if (ioctl(io_fd, PCCONENABIOPL, 0) < 0) { perror("ioctl(PCCONENABIOPL)"); - return(errno); + return errno; } - return(0); + return 0; } static __inline__ int disable_os_io(void) @@ -32,8 +32,8 @@ static __inline__ int disable_os_io(void) if (ioctl(io_fd, PCCONDISABIOPL, 0) < 0) { perror("ioctl(PCCONDISABIOPL)"); close(io_fd); - return(errno); + return errno; } close(io_fd); - return(0); + return 0; } |