Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2022-05-01 00:53:28 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2022-05-01 00:53:28 +0300
commit0bca489b246d43df1c406b325b49d740141fdf75 (patch)
tree572d8ca7e72a20ddb384176b7ff54c8d7596807d /util-linux
parent464875411926d4085e3496f94551e532676d2e9d (diff)
seedrng: remove redundant assignment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/seedrng.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/seedrng.c b/util-linux/seedrng.c
index b79ce6627..a02609a92 100644
--- a/util-linux/seedrng.c
+++ b/util-linux/seedrng.c
@@ -166,7 +166,7 @@ int seedrng_main(int argc UNUSED_PARAM, char *argv[])
int fd, dfd;
uint8_t new_seed[MAX_SEED_LEN];
size_t new_seed_len;
- bool new_seed_creditable, skip_credit = false;
+ bool new_seed_creditable, skip_credit;
struct timespec timestamp;
sha256_ctx_t hash;
@@ -176,8 +176,8 @@ int seedrng_main(int argc UNUSED_PARAM, char *argv[])
};
#if ENABLE_LONG_OPTS
static const char longopts[] ALIGN1 =
- "seed-dir\0" Required_argument "d"
- "skip-credit\0" No_argument "n"
+ "seed-dir\0" Required_argument "d"
+ "skip-credit\0" No_argument "n"
;
#endif