> On Nov 7, 2019, at 8:52 AM, Toke Høiland-Jørgensen <toke@xxxxxxxxxx> wrote: > > From: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> > > The netlink functions were using fprintf(stderr, ) directly to print out > error messages, instead of going through the usual logging macros. This > makes it impossible for the calling application to silence or redirect > those error messages. Fix this by switching to pr_warn() in nlattr.c and > netlink.c. > > Signed-off-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> > Acked-by: Song Liu <songliubraving@xxxxxx>