summaryrefslogtreecommitdiff
path: root/libopie2
Side-by-side diff
Diffstat (limited to 'libopie2') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiecore/ostorageinfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libopie2/opiecore/ostorageinfo.cpp b/libopie2/opiecore/ostorageinfo.cpp
index 8fcf5fc..6c7c138 100644
--- a/libopie2/opiecore/ostorageinfo.cpp
+++ b/libopie2/opiecore/ostorageinfo.cpp
@@ -76,7 +76,8 @@ QString OStorageInfo::mmcPath()const
for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i)
{
- if ( (*i)->disk().left( 14 ) == "/dev/mmc/part1" )
+ if ( (*i)->disk().left( 14 ) == "/dev/mmc/part1"||
+ (*i)->disk().left(11) == "/dev/mmcblk" )
{
r = (*i)->path();
break;