diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2018-09-13 15:23:33 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2018-09-13 15:23:33 +0000 |
commit | b5b0c2b8eb01cd0f408f4a3b356f20a9679a7031 (patch) | |
tree | 6f9270dd7997aab36147226cb405c9747235a635 /usr.sbin/user | |
parent | 7b12d8486bc1dda8d41d759c89930029911de4af (diff) |
Fix warnings caused by user_from_uid() and group_from_gid() now
returning const char *.
Diffstat (limited to 'usr.sbin/user')
-rw-r--r-- | usr.sbin/user/user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/user/user.c b/usr.sbin/user/user.c index d1458ed5b38..d8c1b34a3ef 100644 --- a/usr.sbin/user/user.c +++ b/usr.sbin/user/user.c @@ -1,4 +1,4 @@ -/* $OpenBSD: user.c,v 1.120 2017/05/24 09:18:15 mestre Exp $ */ +/* $OpenBSD: user.c,v 1.121 2018/09/13 15:23:32 millert Exp $ */ /* $NetBSD: user.c,v 1.69 2003/04/14 17:40:07 agc Exp $ */ /* @@ -507,7 +507,7 @@ append_group(char *user, int ngroups, const char **groups) char buf[LINE_MAX]; char f[MaxFileNameLen]; char *colon; - char *ugid = NULL; + const char *ugid = NULL; int fd; int cc; int i; |