diff options
author | millert <millert@openbsd.org> | 2018-09-13 15:23:32 +0000 |
---|---|---|
committer | millert <millert@openbsd.org> | 2018-09-13 15:23:32 +0000 |
commit | cdc5a29bb51a8e433c413b9d5c562f158f00193d (patch) | |
tree | 1f07ed06db1da6bebe0294f7adc0433f2f980883 /usr.sbin/user | |
parent | sync (diff) | |
download | wireguard-openbsd-cdc5a29bb51a8e433c413b9d5c562f158f00193d.tar.xz wireguard-openbsd-cdc5a29bb51a8e433c413b9d5c562f158f00193d.zip |
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; |