summaryrefslogtreecommitdiff
path: root/sys/src/9/ip/devip.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-09-21 18:02:53 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-09-21 18:02:53 +0200
commitc145a2c0aaa4458b6128f17a05a5e4701cb11929 (patch)
treeed584b5091ccd2d4a4014c8eaaaecb8e49995cf7 /sys/src/9/ip/devip.c
parent47e52123d06390a29f3233f7ee16fcc0446b6a05 (diff)
devip: print protocol name in garbage collection notification
Diffstat (limited to 'sys/src/9/ip/devip.c')
-rw-r--r--sys/src/9/ip/devip.c9
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;
}