]> git.baikalelectronics.ru Git - uboot.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)
commit9281aaf15fb55df60c353f004717e4444a64ca8f
tree0296293d7bc18222378cbd4fbd6aad0636c63823
parentce71ecfe0d5b6e96533388106260c0b504c255c3
log: Fix missing negation of ENOMEM

Errors returned should be negative.

Fixes: 74aad9c7f7 ("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