Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Fix a bit of indentation.



details:   https://anonhg.NetBSD.org/src/rev/d9ac3e34d331
branches:  trunk
changeset: 337265:d9ac3e34d331
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Apr 08 14:13:55 2015 +0000

description:
Fix a bit of indentation.

diffstat:

 sys/kern/kern_rndq.c |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (32 lines):

diff -r 68bda1f67d92 -r d9ac3e34d331 sys/kern/kern_rndq.c
--- a/sys/kern/kern_rndq.c      Wed Apr 08 14:11:21 2015 +0000
+++ b/sys/kern/kern_rndq.c      Wed Apr 08 14:13:55 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_rndq.c,v 1.42 2015/04/08 14:11:21 riastradh Exp $ */
+/*     $NetBSD: kern_rndq.c,v 1.43 2015/04/08 14:13:55 riastradh Exp $ */
 
 /*-
  * Copyright (c) 1997-2013 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_rndq.c,v 1.42 2015/04/08 14:11:21 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_rndq.c,v 1.43 2015/04/08 14:13:55 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -577,10 +577,9 @@
            c ? " with counter\n" : "\n");
        if (boot_rsp != NULL) {
                mutex_spin_enter(&rndpool_mtx);
-                       rndpool_add_data(&rnd_pool, boot_rsp->data,
-                                        sizeof(boot_rsp->data),
-                                        MIN(boot_rsp->entropy,
-                                            RND_POOLBITS / 2));
+               rndpool_add_data(&rnd_pool, boot_rsp->data,
+                   sizeof(boot_rsp->data),
+                   MIN(boot_rsp->entropy, RND_POOLBITS / 2));
                if (rndpool_get_entropy_count(&rnd_pool) >
                    RND_ENTROPY_THRESHOLD * 8) {
                        rnd_initial_entropy = 1;



Home | Main Index | Thread Index | Old Index