diff options
-rw-r--r-- | xlators/debug/error-gen/src/error-gen.c | 4 | ||||
-rw-r--r-- | xlators/features/locks/src/common.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xlators/debug/error-gen/src/error-gen.c b/xlators/debug/error-gen/src/error-gen.c index 6724fcf4c22..f5180e59499 100644 --- a/xlators/debug/error-gen/src/error-gen.c +++ b/xlators/debug/error-gen/src/error-gen.c @@ -195,7 +195,7 @@ generate_rand_no (int op_no) int rand_no = 0; if (op_no < GF_FOP_MAXVALUE) - /* coverty[DC.WEAK_CRYPTO] */ + /* coverity[DC.WEAK_CRYPTO] */ rand_no = rand () % error_no_list[op_no].error_no_count; return rand_no; } @@ -284,7 +284,7 @@ error_gen (xlator_t *this, int op_no) error_no_int = egp->error_no_int; if ((count % egp->failure_iter_no) == 0) { egp->op_count = 0; - /* coverty[DC.WEAK_CRYPTO] */ + /* coverity[DC.WEAK_CRYPTO] */ egp->failure_iter_no = 3 + (rand () % GF_UNIVERSAL_ANSWER); should_err = _gf_true; diff --git a/xlators/features/locks/src/common.c b/xlators/features/locks/src/common.c index c22dff08382..0fba36cc088 100644 --- a/xlators/features/locks/src/common.c +++ b/xlators/features/locks/src/common.c @@ -1105,7 +1105,7 @@ pl_does_monkey_want_stuck_lock() long int monkey_unlock_rand = 0; long int monkey_unlock_rand_rem = 0; - /* coverty[DC.WEAK_CRYPTO] */ + /* coverity[DC.WEAK_CRYPTO] */ monkey_unlock_rand = random (); monkey_unlock_rand_rem = monkey_unlock_rand % 100; if (monkey_unlock_rand_rem == 0) |