summaryrefslogtreecommitdiff
path: root/bin/ps/keyword.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-14 23:45:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-14 23:45:15 +0000
commita7e18b15791831cb95fe053d2ed017adb8c3bf54 (patch)
tree3ee7475f6ac05fa979ff561157cf645834156673 /bin/ps/keyword.c
parent19856cfaf3041e206445509d103c24ddb2782254 (diff)
rename internal uname() to euname() to avoid libc conflict
Diffstat (limited to 'bin/ps/keyword.c')
-rw-r--r--bin/ps/keyword.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c
index f32b46b0ab6..cef2b643a4c 100644
--- a/bin/ps/keyword.c
+++ b/bin/ps/keyword.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: keyword.c,v 1.22 2004/06/11 01:32:13 deraadt Exp $ */
+/* $OpenBSD: keyword.c,v 1.23 2004/09/14 23:45:14 deraadt Exp $ */
/* $NetBSD: keyword.c,v 1.12.6.1 1996/05/30 21:25:13 cgd Exp $ */
/*-
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)keyword.c 8.5 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: keyword.c,v 1.22 2004/06/11 01:32:13 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: keyword.c,v 1.23 2004/09/14 23:45:14 deraadt Exp $";
#endif
#endif /* not lint */
@@ -176,7 +176,7 @@ VAR var[] = {
{"ucomm", "UCOMM", NULL, LJUST, ucomm, MAXCOMLEN},
UID("uid", "UID", pvar, POFF(p_uid)),
{"upr", "UPR", NULL, 0, pvar, 3, 0, POFF(p_usrpri), UINT8, "d"},
- {"user", "USER", NULL, LJUST, uname, USERLEN},
+ {"user", "USER", NULL, LJUST, euname, USERLEN},
{"usrpri", "", "upr"},
{"vsize", "", "vsz"},
{"vsz", "VSZ", NULL, 0, vsize, 5},