Code

hddtemp plugin: Use SCSI_DISK8_MAJOR thru SCSI_DISK15_MAJOR only if available.
authorSebastian Harl <sh@tokkee.org>
Tue, 19 Feb 2008 11:24:53 +0000 (12:24 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 26 Feb 2008 10:27:30 +0000 (11:27 +0100)
commit0a5bd9f384dbbd5674c391ae0420e7593fcdc80d
treee8adafc0c0d6ea05dc40db1f08606c0aff79d00c
parentf91cd5dc6d1deefb404f346e5b3d167865428f76
hddtemp plugin: Use SCSI_DISK8_MAJOR thru SCSI_DISK15_MAJOR only if available.

Some Linux versions don't seem to provide the major numbers 8 thru 15.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/hddtemp.c