From: | "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx> |
Date: | Wed, 18 Jan 2006 21:23:47 +0100 |
Hi, convert unneccessary vprintf to printf Index: /usr/src1/sys/kern/kern_ktr.c =================================================================== RCS file: /mnt/share/dragonfly-cvs/src/sys/kern/kern_ktr.c,v retrieving revision 1.12 diff -u -r1.12 kern_ktr.c --- /usr/src1/sys/kern/kern_ktr.c 12 Dec 2005 08:15:02 -0000 1.12 +++ /usr/src1/sys/kern/kern_ktr.c 18 Jan 2006 14:25:20 -0000 @@ -438,6 +438,7 @@ struct ktr_entry *entry; int cpu;
+ entry = NULL; cpu = mycpu->gd_cpuid; if (ktr_buf[cpu]) { crit_enter(); @@ -471,7 +472,7 @@ if (ktr_verbose > 1) { printf("%s.%d\t", entry->ktr_file, entry->ktr_line); } - vprintf(info->kf_format, ptr); + printf(info->kf_format, ptr);
cheers simon
-- Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low €€€ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
Attachment:
PGP.sig
Description: This is a digitally signed message part