summaryrefslogtreecommitdiff
path: root/usr.bin/top/commands.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-20 16:53:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-20 16:53:16 +0000
commit7a0ade465e55ed229366236c6caa73b14d2bcace (patch)
treef8a463d6d926d179e29e596e6838abb023394b5e /usr.bin/top/commands.c
parent59b03b2a69e07394d191302a83bf9cff18ffc392 (diff)
some cleanings recommended by lint
Diffstat (limited to 'usr.bin/top/commands.c')
-rw-r--r--usr.bin/top/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/top/commands.c b/usr.bin/top/commands.c
index 77d51e8e04d..280a64e33a0 100644
--- a/usr.bin/top/commands.c
+++ b/usr.bin/top/commands.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: commands.c,v 1.11 2003/06/17 00:51:29 jfb Exp $ */
+/* $OpenBSD: commands.c,v 1.12 2003/06/20 16:53:15 deraadt Exp $ */
/*
* Top users/processes display for Unix
@@ -197,7 +197,7 @@ err_string(void)
return (NULL);
/* sort the errors */
- qsort((char *) errs, errcnt, sizeof(struct errs), err_compar);
+ qsort(errs, errcnt, sizeof(struct errs), err_compar);
/* need a space at the front of the error string */
string[0] = ' ';