]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't bother copying the name of a kproc or kthread out into a temporary
authorjhb <jhb@FreeBSD.org>
Fri, 23 Oct 2009 15:09:51 +0000 (15:09 +0000)
committerjhb <jhb@FreeBSD.org>
Fri, 23 Oct 2009 15:09:51 +0000 (15:09 +0000)
commitdeef9eece95e3b8a2c81394d461d225b29811266
tree93a0296128c1cc9cbec9f33c4f7d27a0a2b4bfeb
parentb54a1191707a03952b2aa4dfa508db2d4721a4ad
Don't bother copying the name of a kproc or kthread out into a temporary
array just to pass that array to printf().  kproc and kthread names are
NUL-terminated and can be printed using printf() directly.

Reviewed by: bde
sys/kern/kern_shutdown.c