summaryrefslogtreecommitdiffstats
path: root/include/fileutils.h
diff options
context:
space:
mode:
authorchas williams - CONTRACTOR2012-04-20 16:58:28 +0200
committerKarel Zak2012-04-23 13:33:00 +0200
commit10610816191a7c8c75f184b5ba26861bd5b89d5d (patch)
treea97e5f994dfb80142aaf163860099e8a3d00eb4c /include/fileutils.h
parentFix typos found by misspellings (diff)
downloadkernel-qcow2-util-linux-10610816191a7c8c75f184b5ba26861bd5b89d5d.tar.gz
kernel-qcow2-util-linux-10610816191a7c8c75f184b5ba26861bd5b89d5d.tar.xz
kernel-qcow2-util-linux-10610816191a7c8c75f184b5ba26861bd5b89d5d.zip
login: use getdtablesize() correctly in login.c
getdtablesize() is the number of descriptors and since decriptors start at 0, its value isnt the largest descriptors possible. One should use getdtablesize() - 1 instead. Signed-off-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Diffstat (limited to 'include/fileutils.h')
0 files changed, 0 insertions, 0 deletions