diff options
author | Josh Soref <jsoref@users.noreply.github.com> | 2018-11-26 18:14:48 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-11-26 18:24:49 +0100 |
commit | 00e2a39e18e3a76c2f014a3b27316b7c9479fe9b (patch) | |
tree | 09015b859155a188b840b6e908e5dcec3b9be6cf | |
parent | 33d375bc202ab04c268badbf08abc4a152d2c075 (diff) |
btrfs-progs: utils: fix typo in a variable
Generated by https://github.com/jsoref/spelling
Issue: #154
Author: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -60,7 +60,7 @@ static int btrfs_scan_done = 0; -static int rand_seed_initlized = 0; +static int rand_seed_initialized = 0; static unsigned short rand_seed[3]; struct btrfs_config bconf; @@ -2487,7 +2487,7 @@ void init_rand_seed(u64 seed) rand_seed[i] = (unsigned short)(seed ^ (unsigned short)(-1)); seed >>= 16; } - rand_seed_initlized = 1; + rand_seed_initialized = 1; } static void __init_seed(void) @@ -2496,7 +2496,7 @@ static void __init_seed(void) int ret; int fd; - if(rand_seed_initlized) + if(rand_seed_initialized) return; /* Use urandom as primary seed source. */ fd = open("/dev/urandom", O_RDONLY); @@ -2514,7 +2514,7 @@ fallback: rand_seed[1] = getppid() ^ (tv.tv_usec & 0xFFFF); rand_seed[2] = (tv.tv_sec ^ tv.tv_usec) >> 16; } - rand_seed_initlized = 1; + rand_seed_initialized = 1; } u32 rand_u32(void) |