From c145a2c0aaa4458b6128f17a05a5e4701cb11929 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 21 Sep 2014 18:02:53 +0200 Subject: devip: print protocol name in garbage collection notification --- sys/src/9/ip/devip.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'sys/src/9/ip') diff --git a/sys/src/9/ip/devip.c b/sys/src/9/ip/devip.c index 7e7b379b4..38ba0f81c 100644 --- a/sys/src/9/ip/devip.c +++ b/sys/src/9/ip/devip.c @@ -1321,10 +1321,11 @@ retry: } } if(pp >= ep) { - if(p->gc) - print("Fsprotoclone: garbage collecting Convs\n"); - if(p->gc != nil && (*p->gc)(p)) - goto retry; + if(p->gc != nil){ + print("Fsprotoclone: garbage collecting %s Convs\n", p->name); + if((*p->gc)(p)) + goto retry; + } return nil; } -- cgit v1.2.3