mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-02 00:23:53 +08:00
netstat/kvm: Disable debug prints
This commit is contained in:
parent
e0b40b0aa2
commit
af0a8ead1a
@ -1095,7 +1095,7 @@ kread(u_long addr, void *buf, size_t size)
|
||||
{
|
||||
char errbuf[_POSIX2_LINE_MAX];
|
||||
#ifdef __rtems__
|
||||
printf( "kread( %p to %p for %d)\n", (void *)addr, buf, size );
|
||||
/* printf( "kread( %p to %p for %d)\n", (void *)addr, buf, size ); */
|
||||
#endif
|
||||
|
||||
if (kvmd == NULL) {
|
||||
|
@ -231,10 +231,8 @@ routepr(u_long rtree)
|
||||
if (rnh == NULL)
|
||||
continue;
|
||||
#ifdef __rtems__
|
||||
printf( "rnh %p %p\n", (void *)rnhp, (void *)rnh );
|
||||
/* printf( "rnh %p %p\n", (void *)rnhp, (void *)rnh ); */
|
||||
/* We get a 1 here on some fields. Why? XXX */
|
||||
if (rnh == 1)
|
||||
continue;
|
||||
#endif
|
||||
/* Read the rnh data. */
|
||||
if (kget(rnh, head) != 0)
|
||||
|
@ -54,7 +54,7 @@ again:
|
||||
p->n_value = kvm->value;
|
||||
if (kvm->value) {
|
||||
++nvalid;
|
||||
printf("kvm: %s = %p\n", p->n_name, (void*)kvm->value);
|
||||
// printf("kvm: %s = %p\n", p->n_name, (void*)kvm->value);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user