]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/cdromutl.cc
merged from lp:~mvo/apt/mvo
[apt.git] / apt-pkg / contrib / cdromutl.cc
index 821e6d688e45b2fd083ffea530de738dd0101dbd..e25caf1a53aface16d4075fef1588e4ff60f7046 100644 (file)
@@ -258,7 +258,9 @@ string FindMountPointForDevice(const char *devnode)
                if(TokSplitString(' ', buf, out, 10))
                {
                   fclose(f);
-                  return string(out[1]);
+                  // unescape the \0XXX chars in the path
+                  string mount_point = out[1];
+                  return DeEscapeString(mount_point);
                }
             }
          }