Skip to content

Commit

Permalink
* typo
Browse files Browse the repository at this point in the history
  • Loading branch information
UMU618 committed Mar 14, 2022
1 parent 2d45155 commit e649178
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cgh/cgi/cgi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ T ArrayToString(std::vector<T>& _array, U open, U _seperator, U close) {
return str;
}

void ChechExec(fs::path& exec, fs::path& cd, std::wstring& arguments) {
void CheckExec(fs::path& exec, fs::path& cd, std::wstring& arguments) {
if (exec.empty()) {
throw std::invalid_argument("No exec specifed!");
}
Expand Down Expand Up @@ -126,7 +126,7 @@ int wmain(int argc, wchar_t* argv[]) {
if (!ProcessNamesToProcessIds(image_names, pids)) {
exec = fs::absolute(exec);
// sanity check
ChechExec(exec, cd, arguments);
CheckExec(exec, cd, arguments);

// run it then retry
HANDLE process;
Expand Down Expand Up @@ -166,7 +166,7 @@ int wmain(int argc, wchar_t* argv[]) {
}
} else {
// sanity check
ChechExec(exec, cd, arguments);
CheckExec(exec, cd, arguments);

ULONG pid;
result = RhCreateAndInjectEx(cd.wstring().data(), exec.wstring().data(),
Expand Down

0 comments on commit e649178

Please sign in to comment.