]> git.dujemihanovic.xyz Git - u-boot.git/commit
log: Fix missing negation of ENOMEM
authorSean Anderson <seanga2@gmail.com>
Tue, 27 Oct 2020 23:55:20 +0000 (19:55 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 30 Oct 2020 14:54:38 +0000 (10:54 -0400)
commit69529f9840f5de01a5865d2b55cd741713676956
tree0296293d7bc18222378cbd4fbd6aad0636c63823
parent821fd5ee20a066dcf7a0e76da06a64689e0ff97c
log: Fix missing negation of ENOMEM

Errors returned should be negative.

Fixes: 45fac9fc18 ("log: Correct missing free() on error in log_add_filter()")
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
common/log.c