mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-01 13:20:30 +00:00
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:
1 parent
d4c21518ed
commit
725ef53c13
1 file changed
+1
-1
@@ -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');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user