]> 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, 16 Oct 2020 09:30:08 +0000 (11:30 +0200)
commit8df3f8ef8488894975a6d02b9c7e8e67ed4fad69
tree1fff8f33d61bea09e0af8dd89ae5d86b1a2f90b7
parent232fcae81c8fe9128485cd3b070e3e231993b51b
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