summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2003-10-25 13:39:39 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2003-10-25 13:39:39 +0000
commit798b51e8a6ffe297f4e54cb8fe8f29cda01d3d4b (patch)
tree0a9c5cdae1a82cc145e5c206199ab793b07fd43b /src
parentfce8d27bb817cf6e9958e29b51508315ac3ccf87 (diff)
downloadxine-lib-798b51e8a6ffe297f4e54cb8fe8f29cda01d3d4b.tar.gz
xine-lib-798b51e8a6ffe297f4e54cb8fe8f29cda01d3d4b.tar.bz2
judging from the reaction, this check is supposed to test for SCSI devices
additionally, the current test fails to compile on SuSE 9.0 CVS patchset: 5593 CVS date: 2003/10/25 13:39:39
Diffstat (limited to 'src')
-rw-r--r--src/xine-utils/xine_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-utils/xine_check.c b/src/xine-utils/xine_check.c
index a2a399ea2..57e8a5f21 100644
--- a/src/xine-utils/xine_check.c
+++ b/src/xine-utils/xine_check.c
@@ -278,7 +278,7 @@ xine_health_check_t* xine_health_check_dma (xine_health_check_t* hc) {
return hc;
}
- if (major (st.st_rdev) == LVM_BLK_MAJOR) {
+ if (SCSI_BLK_MAJOR(major(st.st_rdev))) {
is_scsi_dev = 1;
set_hc_result(hc, XINE_HEALTH_CHECK_OK, "SKIPPED - Operation not supported on SCSI drives or drives that use the ide-scsi module.");
return hc;