diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-12-01 16:40:57 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-12-01 16:40:57 +0000 |
commit | a90a45fa8eb82733fb2401aea77fab67471a0d12 (patch) | |
tree | b425689b8aa975af5f06dec9d849e1627cb95b8b /sys/ddb | |
parent | afd83459067e8806c325646a976c755c0acd5a2e (diff) |
Change 'mountlist' from CIRCLEQ to TAILQ. Be paranoid and
use TAILQ_*_SAFE more than might be needed.
Bulk ports build by sthen@ showed nobody sticking their fingers
so deep into the kernel.
Feedback and suggestions from millert@. ok jsing@
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index b55479d8d04..32449fc6163 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_command.c,v 1.62 2010/11/05 15:17:50 claudio Exp $ */ +/* $OpenBSD: db_command.c,v 1.63 2013/12/01 16:40:56 krw Exp $ */ /* $NetBSD: db_command.c,v 1.20 1996/03/30 22:30:05 christos Exp $ */ /* @@ -350,7 +350,7 @@ db_show_all_mounts(db_expr_t addr, int have_addr, db_expr_t count, char *modif) if (modif[0] == 'f') full = TRUE; - CIRCLEQ_FOREACH(mp, &mountlist, mnt_list) + TAILQ_FOREACH(mp, &mountlist, mnt_list) vfs_mount_print(mp, full, db_printf); } |