From 608ea90065a50b7f8e3a5592c8e8e4cbd0265490 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Fri, 6 Nov 2015 11:48:39 +0100 Subject: random: fix odd formatting * random/random.c (trivfs_append_args): Fix odd formatting. --- random/random.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'random/random.c') diff --git a/random/random.c b/random/random.c index 15be3831..9ade1613 100644 --- a/random/random.c +++ b/random/random.c @@ -486,25 +486,20 @@ trivfs_append_args (struct trivfs_control *fsys, { error_t err = 0; char *opt; - + pthread_mutex_lock (&global_lock); switch (level) { case 0: - { opt = "--weak"; break; - } + case 1: - { opt = "--fast"; break; - } + default: - { opt = "--secure"; - break; - } } if (level != DEFAULT_LEVEL) err = argz_add (argz, argz_len, opt); -- cgit v1.2.3