diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-09-21 18:02:53 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-09-21 18:02:53 +0200 |
commit | c145a2c0aaa4458b6128f17a05a5e4701cb11929 (patch) | |
tree | ed584b5091ccd2d4a4014c8eaaaecb8e49995cf7 /sys | |
parent | 47e52123d06390a29f3233f7ee16fcc0446b6a05 (diff) |
devip: print protocol name in garbage collection notification
Diffstat (limited to 'sys')
-rw-r--r-- | sys/src/9/ip/devip.c | 9 |
1 files changed, 5 insertions, 4 deletions
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; } |