Remove useless mode argument to open().

Reported by:	Liam J. Foy <liamfoy@gmail.com>
Approved by:	grehan (mentor)
This commit is contained in:
Suleiman Souhlal 2005-01-25 14:25:18 +00:00
parent 4dd5ff1fce
commit e65b439414
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140814

View File

@ -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");