From 601bbf0af453aa95fb5a0e011c730b1445488686 Mon Sep 17 00:00:00 2001 From: Gunnar Mills Date: Wed, 25 Oct 2017 13:46:11 -0500 Subject: 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 --- image_manager.cpp | 6 +++--- 1 file 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(tmpDirPath.c_str()))) { - log("Error occured during mkdtemp", + log("Error occurred during mkdtemp", entry("ERRNO=%d", errno)); report(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("Error occured during mkdir", + log("Error occurred during mkdir", entry("ERRNO=%d", errno)); report(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("Error occured during untar"); + log("Error occurred during untar"); return -1; } -- cgit v1.2.1