summaryrefslogtreecommitdiffstats
path: root/cmd-server-info.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-01-26 00:11:47 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-01-26 00:11:47 +0000
commit4dfb29fa38a22615eda253b1124261379f6fbbcc (patch)
tree0b5fcc4d7ad0cc68d672c81c0b931d9d3245bc49 /cmd-server-info.c
parentecc22c521d83f8ce480c0e2866fdf3ed14bd6131 (diff)
Use LIST_* not SLIST_*.
Diffstat (limited to 'cmd-server-info.c')
-rw-r--r--cmd-server-info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c
index 2eaf142f..5e95757d 100644
--- a/cmd-server-info.c
+++ b/cmd-server-info.c
@@ -142,7 +142,7 @@ cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx)
ctx->print(ctx, "%s", "");
ctx->print(ctx, "Terminals:");
- SLIST_FOREACH(term, &tty_terms, entry) {
+ LIST_FOREACH(term, &tty_terms, entry) {
ctx->print(ctx, "%s [references=%u, flags=0x%x]:",
term->name, term->references, term->flags);
for (i = 0; i < NTTYCODE; i++) {
@@ -174,7 +174,7 @@ cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx)
ctx->print(ctx, "%s", "");
ctx->print(ctx, "Jobs:");
- SLIST_FOREACH(job, &all_jobs, lentry) {
+ LIST_FOREACH(job, &all_jobs, lentry) {
ctx->print(ctx, "%s [fd=%d, pid=%d, status=%d, flags=0x%x]",
job->cmd, job->fd, job->pid, job->status, job->flags);
}