summaryrefslogtreecommitdiff
path: root/usr.bin/top/top.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/top/top.c')
-rw-r--r--usr.bin/top/top.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/top/top.c b/usr.bin/top/top.c
index d3ed70e65f1..178696ba792 100644
--- a/usr.bin/top/top.c
+++ b/usr.bin/top/top.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: top.c,v 1.90 2018/07/29 13:34:26 deraadt Exp $ */
+/* $OpenBSD: top.c,v 1.91 2018/09/13 15:23:32 millert Exp $ */
/*
* Top users/processes display for Unix
@@ -279,7 +279,7 @@ int
main(int argc, char *argv[])
{
char *uname_field = "USERNAME", *header_text, *env_top;
- char *(*get_userid)(uid_t) = username;
+ const char *(*get_userid)(uid_t) = username;
char **preset_argv = NULL, **av = argv;
int preset_argc = 0, ac = argc, active_procs, i;
sigset_t mask, oldmask;