diff options
author | chas williams - CONTRACTOR | 2012-04-20 16:58:28 +0200 |
---|---|---|
committer | Karel Zak | 2012-04-23 13:33:00 +0200 |
commit | 10610816191a7c8c75f184b5ba26861bd5b89d5d (patch) | |
tree | a97e5f994dfb80142aaf163860099e8a3d00eb4c /include/fileutils.h | |
parent | Fix typos found by misspellings (diff) | |
download | kernel-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