Imported Upstream version 16.3.2
[platform/upstream/libzypp.git] / zypp / media / MediaDIR.cc
index 892c5d2..4f8288e 100644 (file)
@@ -28,7 +28,7 @@ namespace zypp {
     // CLASS NAME : MediaDIR
     //
     ///////////////////////////////////////////////////////////////////
-    
+
     ///////////////////////////////////////////////////////////////////
     //
     //
@@ -84,7 +84,7 @@ namespace zypp {
        else
        {
           ZYPP_THROW(MediaBadUrlException(url(),
-            "Specified path '" + url().getPathName() + "' is and not allowed as media source"
+            "Specified path '" + url().getPathName() + "' is not a directory"
          ));
        }
       }
@@ -113,11 +113,11 @@ namespace zypp {
     //
     //
     // METHOD NAME : MediaDIR::releaseFrom
-    // METHOD TYPE : PMError
+    // METHOD TYPE : void
     //
     // DESCRIPTION : Asserted that media is attached.
     //
-    void MediaDIR::releaseFrom( bool eject )
+    void MediaDIR::releaseFrom( const std::string & ejectDev )
     {
       return;
     }
@@ -178,7 +178,7 @@ namespace zypp {
     bool MediaDIR::getDoesFileExist( const Pathname & filename ) const
     {
       return MediaHandler::getDoesFileExist( filename );
-    }    
-    
+    }
+
   } // namespace media
 } // namespace zypp