summaryrefslogtreecommitdiff
path: root/bin/ps/keyword.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-12-30 14:59:11 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-12-30 14:59:11 +0000
commit53a02405d78f0f03e9f4e625794cb6cbe22951a1 (patch)
tree24507302a9cb23836d56b45f9128e42941461e5a /bin/ps/keyword.c
parente535efa9625f8503451df1fbd88aa3e337fee253 (diff)
rename a few variables/functions to avoid shadowing
Diffstat (limited to 'bin/ps/keyword.c')
-rw-r--r--bin/ps/keyword.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c
index 3cc32e3e6b0..2941c72375a 100644
--- a/bin/ps/keyword.c
+++ b/bin/ps/keyword.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: keyword.c,v 1.42 2015/01/16 06:39:32 deraadt Exp $ */
+/* $OpenBSD: keyword.c,v 1.43 2015/12/30 14:59:10 tedu Exp $ */
/* $NetBSD: keyword.c,v 1.12.6.1 1996/05/30 21:25:13 cgd Exp $ */
/*-
@@ -167,7 +167,7 @@ VAR var[] = {
{"ssiz", "SSIZ", NULL, 0, ssize, 4},
{"start", "STARTED", NULL, LJUST|USER, started, 8},
{"stat", "", "state"},
- {"state", "STAT", NULL, LJUST|NLIST, state, 5},
+ {"state", "STAT", NULL, LJUST|NLIST, printstate, 5},
GID("svgid", "SVGID", pvar, POFF(p_svgid)),
UID("svuid", "SVUID", pvar, POFF(p_svuid)),
{"tdev", "TDEV", NULL, 0, tdev, 4},