summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-12 15:34:10 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-12 15:34:10 +0000
commit48f124a2e86170b85ad2c1813a5cfeb3607188c2 (patch)
tree3e4d59302739978da1ecdf3db722fede447cf41d
parentf04b796dcce93be266234a9220ab0f42c5eec5ff (diff)
fix indentation
i was editting this in another editor Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--util/nvmutil/nvmutil.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 3608c439..83c06616 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -1052,20 +1052,20 @@ fallback_rand(void)
static unsigned long
entropy_jitter(void)
{
- struct timeval a, b;
- unsigned long mix = 0;
- int i;
+ struct timeval a, b;
+ unsigned long mix = 0;
+ int i;
- for (i = 0; i < 8; i++) {
- gettimeofday(&a, NULL);
- getpid();
- gettimeofday(&b, NULL);
+ for (i = 0; i < 8; i++) {
+ gettimeofday(&a, NULL);
+ getpid();
+ gettimeofday(&b, NULL);
- mix ^= (unsigned long)(b.tv_usec - a.tv_usec);
- mix ^= (unsigned long)&mix;
- }
+ mix ^= (unsigned long)(b.tv_usec - a.tv_usec);
+ mix ^= (unsigned long)&mix;
+ }
- return mix;
+ return mix;
}
static void