blob: eeed2a1aefa7f39d6b4778767102af5588f6ffa5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
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: [PATCH hurd 2/4] random: fix odd formatting
* random/random.c (trivfs_append_args): Fix odd formatting.
---
random/random.c | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/random/random.c b/random/random.c
index 15be383..9ade161 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);
--
2.1.4
|