From 798b51e8a6ffe297f4e54cb8fe8f29cda01d3d4b Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Sat, 25 Oct 2003 13:39:39 +0000 Subject: 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 --- src/xine-utils/xine_check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3