summaryrefslogtreecommitdiff
authoralwin <alwin>2005-03-03 22:40:52 (UTC)
committer alwin <alwin>2005-03-03 22:40:52 (UTC)
commit6458e3f1f86ab0aadceb3675c38abfbf33f070eb (patch) (side-by-side diff)
tree9da8d7692485690a827d5095e43c1219e42467e3
parente007cb2e4e3627ece4a093bc976debd6366ed1fa (diff)
downloadopie-6458e3f1f86ab0aadceb3675c38abfbf33f070eb.zip
opie-6458e3f1f86ab0aadceb3675c38abfbf33f070eb.tar.gz
opie-6458e3f1f86ab0aadceb3675c38abfbf33f070eb.tar.bz2
added 2.6 kernel devicenames
ToDo: let it check using OStorage
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/applets/cardmon/cardmon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/cardmon/cardmon.cpp b/core/applets/cardmon/cardmon.cpp
index 53497df..452339c 100644
--- a/core/applets/cardmon/cardmon.cpp
+++ b/core/applets/cardmon/cardmon.cpp
@@ -288,5 +288,5 @@ bool CardMonitor::getStatusSd( int showPopUp ) {
//odebug << fs << oendl;
if ( fs.left( 14 ) == "/dev/mmc/part1" || fs.left( 7 ) == "/dev/sd"
- || fs.left( 9 ) == "/dev/mmcd" ) {
+ || fs.left( 9 ) == "/dev/mmcd" || fs.left(11) == "/dev/mmcblk" ) {
cardInSd = TRUE;
cardSdName = fs;