summaryrefslogtreecommitdiffstats
path: root/lib/test_fprobe.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test_fprobe.c')
-rw-r--r--lib/test_fprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test_fprobe.c b/lib/test_fprobe.c
index ed70637a2ffa..e0381b3ec410 100644
--- a/lib/test_fprobe.c
+++ b/lib/test_fprobe.c
@@ -145,7 +145,7 @@ static unsigned long get_ftrace_location(void *func)
static int fprobe_test_init(struct kunit *test)
{
do {
- rand1 = prandom_u32();
+ rand1 = get_random_u32();
} while (rand1 <= div_factor);
target = fprobe_selftest_target;