Bug #64 ยป kern_ktr.printf.diff
/usr/src1/sys/kern/kern_ktr.c 18 Jan 2006 14:25:20 -0000 | ||
---|---|---|
struct ktr_entry *entry;
|
||
int cpu;
|
||
entry = NULL;
|
||
cpu = mycpu->gd_cpuid;
|
||
if (ktr_buf[cpu]) {
|
||
crit_enter();
|
||
... | ... | |
if (ktr_verbose > 1) {
|
||
printf("%s.%d\t", entry->ktr_file, entry->ktr_line);
|
||
}
|
||
vprintf(info->kf_format, ptr);
|
||
printf(info->kf_format, ptr);
|
||
printf("\n");
|
||
}
|
||
#endif
|