summaryrefslogtreecommitdiff
path: root/random/random.c
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-11-06 11:48:39 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-11-06 11:48:39 +0100
commit608ea90065a50b7f8e3a5592c8e8e4cbd0265490 (patch)
tree78126040efd4f6a49983fa8006efb507a6ccb9ad /random/random.c
parenta9eb3e9765a21f9903705e2b9f46694529af8155 (diff)
random: fix odd formatting
* random/random.c (trivfs_append_args): Fix odd formatting.
Diffstat (limited to 'random/random.c')
-rw-r--r--random/random.c11
1 files changed, 3 insertions, 8 deletions
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);