[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 04/75: random: fix odd formatting
From: |
Samuel Thibault |
Subject: |
[hurd] 04/75: random: fix odd formatting |
Date: |
Thu, 14 Jan 2016 01:04:01 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch dde
in repository hurd.
commit 608ea90065a50b7f8e3a5592c8e8e4cbd0265490
Author: Justus Winter <address@hidden>
Date: Fri Nov 6 11:48:39 2015 +0100
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);
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] branch dde updated (c7fdc30 -> cb08549), Samuel Thibault, 2016/01/13
- [hurd] 04/75: random: fix odd formatting,
Samuel Thibault <=
- [hurd] 06/75: random: use /servers/startup to register for shutdown notifications, Samuel Thibault, 2016/01/13
- [hurd] 07/75: random: satisfy arbitrarily-sized reads, Samuel Thibault, 2016/01/13
- [hurd] 08/75: libihash: add hurd_ihash_value_valid, Samuel Thibault, 2016/01/13
- [hurd] 10/75: libihash: prefer performance degradation over failure, Samuel Thibault, 2016/01/13
- [hurd] 11/75: Make dde conditionally built under presence of libpciaccess, Samuel Thibault, 2016/01/13
- [hurd] 13/75: Clean debugging macro, Samuel Thibault, 2016/01/13
- [hurd] 09/75: libihash: optimize lookup-or-insert operations, Samuel Thibault, 2016/01/13
- [hurd] 03/75: Remove unused variables, Samuel Thibault, 2016/01/13
- [hurd] 17/75: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd into dde, Samuel Thibault, 2016/01/13
- [hurd] 19/75: Add devnode documentation, Samuel Thibault, 2016/01/13