mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
fault-inject: fix inverted interval/probability values in printk
commitbb38700269
upstream. interval displays the probability and vice versa. Fixes:6adc4a22f2
("fault-inject: add ratelimit option") Acked-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4b5f17c9ca
commit
07f89e225a
@ -44,7 +44,7 @@ static void fail_dump(struct fault_attr *attr)
|
||||
printk(KERN_NOTICE "FAULT_INJECTION: forcing a failure.\n"
|
||||
"name %pd, interval %lu, probability %lu, "
|
||||
"space %d, times %d\n", attr->dname,
|
||||
attr->probability, attr->interval,
|
||||
attr->interval, attr->probability,
|
||||
atomic_read(&attr->space),
|
||||
atomic_read(&attr->times));
|
||||
if (attr->verbose > 1)
|
||||
|
Loading…
Reference in New Issue
Block a user