diff options
Diffstat (limited to 'fs/xfs/xfs_error.c')
-rw-r--r-- | fs/xfs/xfs_error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_error.c b/fs/xfs/xfs_error.c index b1af54464f0..8c433163133 100644 --- a/fs/xfs/xfs_error.c +++ b/fs/xfs/xfs_error.c | |||
@@ -80,7 +80,7 @@ xfs_error_test(int error_tag, int *fsidp, char *expression, | |||
80 | int i; | 80 | int i; |
81 | int64_t fsid; | 81 | int64_t fsid; |
82 | 82 | ||
83 | if (random() % randfactor) | 83 | if (random32() % randfactor) |
84 | return 0; | 84 | return 0; |
85 | 85 | ||
86 | memcpy(&fsid, fsidp, sizeof(xfs_fsid_t)); | 86 | memcpy(&fsid, fsidp, sizeof(xfs_fsid_t)); |