summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-07-07 02:52:26 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-07-07 02:52:26 +0000
commitaf3191710e3f8f34945cc6dab845e0c4f6a98611 (patch)
tree6b18dc3660eadab95758042fb7e347e987232c2e /utils
parent776df4bcb6a09530c835874ac8ef4aaf00451f5b (diff)
(lookup_user): Declare return to be `int' to avoid type clash in use
as 4th parameter to parse_numlist.
Diffstat (limited to 'utils')
-rw-r--r--utils/ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ps.c b/utils/ps.c
index 4e2c0bd3..66eb6265 100644
--- a/utils/ps.c
+++ b/utils/ps.c
@@ -328,7 +328,7 @@ current_lid()
}
/* Returns the UID for the user called NAME. */
-static uid_t
+static int
lookup_user(char *name)
{
struct passwd *pw = getpwnam(name);