summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2017-10-25 13:46:11 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-10-31 13:39:53 +0000
commit601bbf0af453aa95fb5a0e011c730b1445488686 (patch)
tree59efd8b6eba4ace85853530b689a1998978e80a0
parentb77551cd966e437584c8198380e81da837b9ace8 (diff)
downloadphosphor-bmc-code-mgmt-601bbf0af453aa95fb5a0e011c730b1445488686.tar.gz
phosphor-bmc-code-mgmt-601bbf0af453aa95fb5a0e011c730b1445488686.zip
Spelling fixes in image_manager.cpp
Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is Licensed under GNU General Public License, version 2. Change-Id: Ia499821e053e2d4280cd74d4020eab6b2febe854 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
-rw-r--r--image_manager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/image_manager.cpp b/image_manager.cpp
index 6f49f5d..43edded 100644
--- a/image_manager.cpp
+++ b/image_manager.cpp
@@ -59,7 +59,7 @@ int Manager::processImage(const std::string& tarFilePath)
// Need tmp dir to write MANIFEST file to.
if (!mkdtemp(const_cast<char*>(tmpDirPath.c_str())))
{
- log<level::ERR>("Error occured during mkdtemp",
+ log<level::ERR>("Error occurred during mkdtemp",
entry("ERRNO=%d", errno));
report<InternalFailure>(InternalFail::FAIL("mkdtemp"));
return -1;
@@ -143,7 +143,7 @@ int Manager::processImage(const std::string& tarFilePath)
}
if (mkdir(imageDirPath.c_str(), S_IRWXU) != 0)
{
- log<level::ERR>("Error occured during mkdir",
+ log<level::ERR>("Error occurred during mkdir",
entry("ERRNO=%d", errno));
report<InternalFailure>(InternalFail::FAIL("mkdir"));
return -1;
@@ -153,7 +153,7 @@ int Manager::processImage(const std::string& tarFilePath)
auto rc = unTar(tarFilePath, imageDirPath.string());
if (rc < 0)
{
- log<level::ERR>("Error occured during untar");
+ log<level::ERR>("Error occurred during untar");
return -1;
}
OpenPOWER on IntegriCloud