diff options
author | 2018-09-13 15:23:32 +0000 | |
---|---|---|
committer | 2018-09-13 15:23:32 +0000 | |
commit | cdc5a29bb51a8e433c413b9d5c562f158f00193d (patch) | |
tree | 1f07ed06db1da6bebe0294f7adc0433f2f980883 /usr.bin/fstat | |
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.bin/fstat')
-rw-r--r-- | usr.bin/fstat/fstat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c index 90e8f4fc5ee..783fda718d5 100644 --- a/usr.bin/fstat/fstat.c +++ b/usr.bin/fstat/fstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fstat.c,v 1.93 2018/04/10 11:09:14 sthen Exp $ */ +/* $OpenBSD: fstat.c,v 1.94 2018/09/13 15:23:32 millert Exp $ */ /* * Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com> @@ -331,7 +331,7 @@ fstat_header(void) putchar('\n'); } -char *Uname, *Comm; +const char *Uname, *Comm; uid_t *procuid; pid_t Pid; |