aboutsummaryrefslogtreecommitdiff
path: root/ubi-utils/src/ubiutils-common.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-22 18:51:17 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-24 19:12:30 +0300
commitd6035bcf5affd4e67d115cc9cf562a00a60c44e7 (patch)
treea8b5e47141f15fcc6034295fef25ff6f2427f655 /ubi-utils/src/ubiutils-common.c
parent1fa184a5be96d5c927b4c64d965afd417997e8fc (diff)
fs-tests: integck: use rand_r everywhere
Instead of using rand_r with own seed for operations and rand() with global state for data it is cleaner to use rand_r with own different states for these things. This patch eliminates 'srand()' and 'rand()' usage. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src/ubiutils-common.c')
0 files changed, 0 insertions, 0 deletions