Use macro API to <sys/queue.h>

Submitted by:	Dima Dorfman <dima@unixfreak.org>
Reviewed by:	phk
This commit is contained in:
Poul-Henning Kamp 2000-12-31 11:22:42 +00:00
parent c2ef0b73df
commit 3281461493
2 changed files with 2 additions and 2 deletions

View File

@ -702,7 +702,7 @@ struct proc *p;
{
struct proc lp;
for (; p != NULL; p = lp.p_list.le_next) {
for (; p != NULL; p = LIST_NEXT(&lp, p_list)) {
if (!kvm_read(cfd, (CORE_ADDR)p, (char *)&lp, sizeof (lp)))
return (0);
if (lp.p_pid != pid)

View File

@ -702,7 +702,7 @@ struct proc *p;
{
struct proc lp;
for (; p != NULL; p = lp.p_list.le_next) {
for (; p != NULL; p = LIST_NEXT(&lp, p_list)) {
if (!kvm_read(cfd, (CORE_ADDR)p, (char *)&lp, sizeof (lp)))
return (0);
if (lp.p_pid != pid)