be careful with addresses.

This commit is contained in:
cgd 1994-12-23 13:19:41 +00:00
parent f04c743d2d
commit 6abb26e555
1 changed files with 2 additions and 2 deletions

View File

@ -411,8 +411,8 @@ wchan(k, ve)
(void)printf("%-*.*s", v->width, v->width,
KI_EPROC(k)->e_wmesg);
else
(void)printf("%-*x", v->width,
(int)KI_PROC(k)->p_wchan &~ KERNBASE);
(void)printf("%-*lx", v->width,
(long)KI_PROC(k)->p_wchan &~ KERNBASE);
} else
(void)printf("%-*s", v->width, "-");
}