Do not use O_BINARY, doesn't work on older versions of Perl.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1824 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2003-06-28 22:05:52 +00:00
1 parent d4c21518ed
commit 725ef53c13
1 file changed
+1 -1
+1 -1
View File
@@ -1340,7 +1340,7 @@ sub any_list_match
sub initialize_ioports
{
sysopen (IOPORTS, "/dev/port", O_RDWR|O_BINARY)
sysopen (IOPORTS, "/dev/port", O_RDWR)
or die "/dev/port: $!\n";
binmode (IOPORTS, ':raw');
}