From 279e01051600f0884ed3669786543578e53cf518 Mon Sep 17 00:00:00 2001 From: D Brashear Date: Tue, 22 Apr 2014 11:38:44 -0400 Subject: [PATCH] linux: make reading unixusers from proc actually work our indentation did not match our braces so we would never read all the objects in each unixuser hash chain. add the missing braces Change-Id: I001b55f0d43639124b06758095664a31e8230db6 Reviewed-on: http://gerrit.openafs.org/11094 Tested-by: BuildBot Reviewed-by: Michael Meffie Reviewed-by: D Brashear --- src/afs/LINUX/osi_proc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/afs/LINUX/osi_proc.c b/src/afs/LINUX/osi_proc.c index 71983dc16..a1a572405 100644 --- a/src/afs/LINUX/osi_proc.c +++ b/src/afs/LINUX/osi_proc.c @@ -151,9 +151,10 @@ uu_start(struct seq_file *m, loff_t *pos) for (i = 0; i < NUSERS; i++) { for (tu = afs_users[i]; tu; tu = tu->next) { - if (++n == *pos) + if (++n == *pos) { ret = tu; goto done; + } } } -- 2.39.5