diff options
author | unammx <unammx> | 2000-09-28 20:57:55 +0000 |
---|---|---|
committer | unammx <unammx> | 2000-09-28 20:57:55 +0000 |
commit | 590fd1e5ff548bc268f80eb2a1d8cec2d8229a0c (patch) | |
tree | 70c8bbf03c878a076a5b4ca454ea7d890ad21cd7 /hardware-conf.in | |
parent | 47b4a6c42c0154792b4c97eaeb24e65df64b1bf5 (diff) |
Erased a bunch of warnings, and included mistakenly erased code.
Diffstat (limited to 'hardware-conf.in')
-rwxr-xr-x | hardware-conf.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hardware-conf.in b/hardware-conf.in index e0d0695..c3ca720 100755 --- a/hardware-conf.in +++ b/hardware-conf.in @@ -427,7 +427,7 @@ sub read_proc_ide opendir CONTROLLER_DIR, "/proc/ide"; - if (CONTROLLER_DIR) + if (*CONTROLLER_DIR) { foreach $i (readdir (CONTROLLER_DIR)) { @@ -436,7 +436,7 @@ sub read_proc_ide } } - closedir CONTROLLER_DIR; + closedir (CONTROLLER_DIR); } # Read SCSI information @@ -637,7 +637,7 @@ sub combine 'type' => "Keyboard", 'id' => "XFree86:$device->{name}", 'driver' => $device->{driver}, - 'name' => "$words[$index_kdb] keyboard" + 'name' => "$words[$index_kbd] keyboard" } } elsif ($device->{driver} eq 'mouse') |