]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/pager: fix improper use of negative value [coverity scan]
authorSami Kerola <kerolasa@iki.fi>
Sat, 8 Aug 2020 19:02:01 +0000 (20:02 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 13 Nov 2020 11:27:14 +0000 (12:27 +0100)
commite640ffda5b59ac9de048b39ff46dcdd88f6ad832
treeec4454f881a674b0e5c9303a6aba76f0f7f42b13
parent3de8b941ff98506153628f3fddc494d24d6ad0d6
lib/pager: fix improper use of negative value [coverity scan]

The close(2) cannot accept a negative number.

CID: 360777
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
lib/pager.c