summaryrefslogtreecommitdiffstats
path: root/utils/gssd/krb5_util.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-03-20 13:03:17 -0400
committerSteve Dickson <steved@redhat.com>2013-03-25 10:09:09 -0400
commitda56ddf07ce41bd324c5c38db7d9ac03f4887258 (patch)
tree91e66221e7b3ecdebfbfc96681ce1b4fda0579a4 /utils/gssd/krb5_util.c
parent95894ff4467995659c4ce5e2523f3c8058d9c676 (diff)
downloadnfs-utils-da56ddf07ce41bd324c5c38db7d9ac03f4887258.tar.gz
nfs-utils-da56ddf07ce41bd324c5c38db7d9ac03f4887258.tar.xz
nfs-utils-da56ddf07ce41bd324c5c38db7d9ac03f4887258.zip
gssd: use correct test for success of getrlimit()
commit 7c5cb5e732a4b8704f8c79ec819c5d271e040339 gssd: base the size of the fd array on the RLIMIT_NOFILE limit. didn't actually work as claimed. It only uses the returned value if getrlimit() returns -1 -- which of course it only does when there was an error. So change the test to "== 0". Reported-by: Leonardo Chiquitto< lchiquitto@suse.com> Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/krb5_util.c')
0 files changed, 0 insertions, 0 deletions