Re: [PATCH iproute2 1/1] ip: initialize FILE pointer in ip-monitor

2017-09-27 Thread Stephen Hemminger
On Tue, 26 Sep 2017 15:13:56 -0400 Roman Mashak wrote: > Since FILE *_fp was not explicitly initialized, all the consequent print_*() > calls were failing. > > Signed-off-by: Roman Mashak This works, but the later patch by Julien Fortien which gets rid of the FILE * argument all together is a

[PATCH iproute2 1/1] ip: initialize FILE pointer in ip-monitor

2017-09-26 Thread Roman Mashak
Since FILE *_fp was not explicitly initialized, all the consequent print_*() calls were failing. Signed-off-by: Roman Mashak --- ip/ipmonitor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ip/ipmonitor.c b/ip/ipmonitor.c index 3171d47..f4d502a 100644 --- a/ip/ipmonitor.c +++ b/ip/ipmon