Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
JoGei committed May 3, 2023
1 parent 5d0d8ae commit 4fae67f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/etiss/fault/Action.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ class Action : public etiss::ToString
/// INJECTION and EJECTION only
const FaultRef &getFaultRef() const;

/// MASK only
const mask_op_t &getMaskOp() const;

uint64_t getMaskValue() const;
#ifndef NO_ETISS
int32_t getEvent() const;
Expand Down
2 changes: 1 addition & 1 deletion include/etiss/fault/Stressor.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class Stressor
/** @brief removes a fault's active triggers from their injectors, thus,
* deactivating the fault.
* @param f the fault for adding to the map.
* @return false if refernced fault is not the static fault list faults().
* @return false if referenced fault is not the static fault list faults().
*/
static bool removeFault(const Fault &f, bool injected_fault = false);

Expand Down
4 changes: 2 additions & 2 deletions src/fault/Stressor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,11 +330,11 @@ bool Stressor::removeFault(const Fault &f, bool injected_fault)
if (find == faults().end())
{
#ifdef NO_ETISS
std::cout << "etiss::fault::Stressor::addFault: Fault not registered in Fault definitions:" << f.toString()
std::cout << "etiss::fault::Stressor::removeFault: Fault not registered in Fault definitions:" << f.toString()
<< std::endl;
#else
etiss::log(etiss::ERROR,
std::string("etiss::fault::Stressor::addFault:") +
std::string("etiss::fault::Stressor::removeFault:") +
std::string(" Fault not registered in Fault definitions. "),
f);
#endif
Expand Down

0 comments on commit 4fae67f

Please sign in to comment.