Remove useless mode argument. Reported by: Liam J. Foy Index: src/usr.sbin/lptcontrol/lptcontrol.c =================================================================== --- src/usr.sbin/lptcontrol/lptcontrol.c (revision 131) +++ src/usr.sbin/lptcontrol/lptcontrol.c (working copy) @@ -96,7 +96,7 @@ 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");