From: D Brashear Date: Tue, 22 Apr 2014 15:38:44 +0000 (-0400) Subject: linux: make reading unixusers from proc actually work X-Git-Tag: upstream/1.8.0_pre1^2~721 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=279e01051600f0884ed3669786543578e53cf518;p=packages%2Fo%2Fopenafs.git 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 --- 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; + } } }