diff options
author | Ken Moore <ken@pcbsd.org> | 2015-01-26 11:03:23 -0500 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-01-26 11:03:23 -0500 |
commit | 4823b32629088f576d3d5434080e9bf0769f1eb1 (patch) | |
tree | 77d92b0399006672bebf432b5993e9b4c69bced1 | |
parent | Clean up the lumina-fm device usage from LuminaOS. (diff) | |
download | lumina-4823b32629088f576d3d5434080e9bf0769f1eb1.tar.gz lumina-4823b32629088f576d3d5434080e9bf0769f1eb1.tar.bz2 lumina-4823b32629088f576d3d5434080e9bf0769f1eb1.zip |
Make sure to convert any tab characters into spaces before parsing the output of "mount" in LuminaOS-FreeBSD.cpp (just in case).
-rw-r--r-- | libLumina/LuminaOS-FreeBSD.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libLumina/LuminaOS-FreeBSD.cpp b/libLumina/LuminaOS-FreeBSD.cpp index 87be7937..03fd2630 100644 --- a/libLumina/LuminaOS-FreeBSD.cpp +++ b/libLumina/LuminaOS-FreeBSD.cpp @@ -29,6 +29,7 @@ QStringList LOS::ExternalDevicePaths(){ //Now check the output for(int i=0; i<devs.length(); i++){ if(devs[i].startsWith("/dev/")){ + devs[i].replace("\t"," "); QString type = devs[i].section(" on ",0,0); type.remove("/dev/"); //Determine the type of hardware device based on the dev node |