diff options
Diffstat (limited to 'usr.bin/top/utils.c')
-rw-r--r-- | usr.bin/top/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/top/utils.c b/usr.bin/top/utils.c index cb21df164b5..9e7f9cce41b 100644 --- a/usr.bin/top/utils.c +++ b/usr.bin/top/utils.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utils.c,v 1.26 2017/03/15 04:24:14 deraadt Exp $ */ +/* $OpenBSD: utils.c,v 1.27 2018/09/13 15:23:32 millert Exp $ */ /* * Top users/processes display for Unix @@ -88,7 +88,7 @@ itoa(int val) * format_uid(uid) - like itoa, except for uid_t and the number is right * justified in a 6 character field to match uname_field in top.c. */ -char * +const char * format_uid(uid_t uid) { static char buffer[16]; /* result is built here */ |