Re: [PATCH] log: avoid call close with negative value

2025-02-07 Thread David Marchand
On Wed, Feb 5, 2025 at 5:15 PM Stephen Hemminger wrote: > > On error path, the journal socket code would call close > with -1 which caused Coverity warning. > > Coverity issue: 448872 > Fixes: 9da0dc6c0331 ("log: support systemd journal") > > Signed-off-by: Stephen Hemminger Applied, thanks. -

[PATCH] log: avoid call close with negative value

2025-02-05 Thread Stephen Hemminger
On error path, the journal socket code would call close with -1 which caused Coverity warning. Coverity issue: 448872 Fixes: 9da0dc6c0331 ("log: support systemd journal") Signed-off-by: Stephen Hemminger --- lib/log/log_journal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -