diff options
Diffstat (limited to 'usr.sbin/lptcontrol')
-rw-r--r-- | usr.sbin/lptcontrol/lptcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/lptcontrol/lptcontrol.c b/usr.sbin/lptcontrol/lptcontrol.c index 387fc9e..62e5b85 100644 --- a/usr.sbin/lptcontrol/lptcontrol.c +++ b/usr.sbin/lptcontrol/lptcontrol.c @@ -96,7 +96,7 @@ int main (int argc, char **argv) if (irq_status == IRQ_UNSPECIFIED || argc != 0) usage(); - if ((fd = open(device, O_WRONLY, 0660)) < 0) + if ((fd = open(device, O_WRONLY)) < 0) err(1, "open"); if (ioctl(fd, LPT_IRQ, &irq_status) < 0) err(1, "ioctl"); |