Fix exited typo (#2634)

This commit is contained in:
Dan Petrisko 2020-11-08 18:55:33 -08:00 committed by GitHub
parent 67d5b1a11a
commit 438fb01665
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -657,7 +657,7 @@ static void execBuildJob() {
const string cmdStr = buildMakeCmd(v3Global.opt.prefix() + ".mk", ""); const string cmdStr = buildMakeCmd(v3Global.opt.prefix() + ".mk", "");
const int exit_code = V3Os::system(cmdStr); const int exit_code = V3Os::system(cmdStr);
if (exit_code != 0) { if (exit_code != 0) {
v3error(cmdStr << " exitted with " << exit_code << std::endl); v3error(cmdStr << " exited with " << exit_code << std::endl);
exit(exit_code); exit(exit_code);
} }
} }
@ -669,7 +669,7 @@ static void execHierVerilation() {
const string cmdStr = buildMakeCmd(makefile, target); const string cmdStr = buildMakeCmd(makefile, target);
const int exit_code = V3Os::system(cmdStr); const int exit_code = V3Os::system(cmdStr);
if (exit_code != 0) { if (exit_code != 0) {
v3error(cmdStr << " exitted with " << exit_code << std::endl); v3error(cmdStr << " exited with " << exit_code << std::endl);
exit(exit_code); exit(exit_code);
} }
} }