summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apt-pkg/contrib/gpgv.cc2
-rw-r--r--apt-pkg/deb/dpkgpm.cc4
-rw-r--r--apt-pkg/init.cc2
3 files changed, 4 insertions, 4 deletions
diff --git a/apt-pkg/contrib/gpgv.cc b/apt-pkg/contrib/gpgv.cc
index 0878a7ffb..683530428 100644
--- a/apt-pkg/contrib/gpgv.cc
+++ b/apt-pkg/contrib/gpgv.cc
@@ -402,7 +402,7 @@ bool SplitClearSignedFile(std::string const &InFile, FileFd * const ContentFile,
_error->Warning("Clearsigned file '%s' contains unsigned lines.", InFile.c_str());
}
- // An error occured during reading - propagate it up
+ // An error occurred during reading - propagate it up
bool const hasErrored = _error->PendingError();
_error->MergeWithStack();
if (hasErrored)
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index 00943c1df..8944254ca 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -670,7 +670,7 @@ void pkgDPkgPM::ProcessDpkgStatusLine(char *line)
if (unlikely(candset.empty()))
{
if (Debug == true)
- std::clog << "unable to figure out which package is dpkg refering to with '" << pkgname << "'! (1)" << std::endl;
+ std::clog << "unable to figure out which package is dpkg referring to with '" << pkgname << "'! (1)" << std::endl;
return;
}
else if (candset.size() == 1) // we are lucky
@@ -760,7 +760,7 @@ void pkgDPkgPM::ProcessDpkgStatusLine(char *line)
if (pkgname.find(':') != std::string::npos)
{
if (Debug == true)
- std::clog << "unable to figure out which package is dpkg refering to with '" << pkgname << "'! (2)" << std::endl;
+ std::clog << "unable to figure out which package is dpkg referring to with '" << pkgname << "'! (2)" << std::endl;
return;
}
}
diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc
index 8b25ca100..1981dba96 100644
--- a/apt-pkg/init.cc
+++ b/apt-pkg/init.cc
@@ -39,7 +39,7 @@ namespace APT {
APT_HIDDEN extern std::unordered_map<std::string, std::vector<std::string>> ArchToTupleMap;
}
-// Splits by whitespace. There may be continous spans of whitespace - they
+// Splits by whitespace. There may be continuous spans of whitespace - they
// will be considered as one.
static std::vector<std::string> split(std::string const & s)
{