diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 5621939a..eb958bf4 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -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'); }