Pārlūkot izejas kodu

remove an extra argument for the error mesage format

David Kalnischkies 15 gadi atpakaļ
vecāks
revīzija
c333ea435b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      apt-pkg/packagemanager.cc

+ 1 - 1
apt-pkg/packagemanager.cc

@@ -439,7 +439,7 @@ bool pkgPackageManager::SmartConfigure(PkgIterator Pkg, int const Depth)
    static bool const ConfigurePkgs = (conf == "all" || conf == "smart");
    static bool const ConfigurePkgs = (conf == "all" || conf == "smart");
 
 
    if (List->IsFlag(Pkg,pkgOrderList::Configured)) 
    if (List->IsFlag(Pkg,pkgOrderList::Configured)) 
-      return _error->Error("Internal configure error on '%s'. ",Pkg.Name(),1);
+      return _error->Error("Internal configure error on '%s'.", Pkg.Name());
 
 
    if (ConfigurePkgs == true && Configure(Pkg) == false)
    if (ConfigurePkgs == true && Configure(Pkg) == false)
       return false;
       return false;