diff options
| author | Suleiman Souhlal <ssouhlal@FreeBSD.org> | 2005-01-25 14:25:18 +0000 |
|---|---|---|
| committer | Suleiman Souhlal <ssouhlal@FreeBSD.org> | 2005-01-25 14:25:18 +0000 |
| commit | e65b439414e6885ee5087f6e820315e0be91e661 (patch) | |
| tree | f99adc3a1c4ccd870793b4cb2b1657c8450ec5bd /usr.sbin/lptcontrol | |
| parent | 4dd5ff1fced678b1865ddf1e656e823b6ada7f88 (diff) | |
Notes
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 387fc9e857fc3..62e5b85478bac 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"); |
