summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko2022-04-30 23:53:28 +0200
committerDenys Vlasenko2022-04-30 23:53:28 +0200
commit0bca489b246d43df1c406b325b49d740141fdf75 (patch)
tree572d8ca7e72a20ddb384176b7ff54c8d7596807d /util-linux
parent464875411926d4085e3496f94551e532676d2e9d (diff)
downloadbusybox-0bca489b246d43df1c406b325b49d740141fdf75.zip
busybox-0bca489b246d43df1c406b325b49d740141fdf75.tar.gz
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 b79ce66..a02609a 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