summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-04-25 21:40:52 +0000
committerderaadt <deraadt@openbsd.org>2003-04-25 21:40:52 +0000
commitf0cdfd52ed0a644e6deb880dcb47eb2970257e61 (patch)
tree181e1f1d8ee87ebab74878a6738b2426d65bc445
parentcomment repair (diff)
downloadwireguard-openbsd-f0cdfd52ed0a644e6deb880dcb47eb2970257e61.tar.xz
wireguard-openbsd-f0cdfd52ed0a644e6deb880dcb47eb2970257e61.zip
comment fix
-rw-r--r--usr.bin/top/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/top/utils.c b/usr.bin/top/utils.c
index 3563f74d52e..8bd3c3edd7f 100644
--- a/usr.bin/top/utils.c
+++ b/usr.bin/top/utils.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: utils.c,v 1.6 2002/07/15 17:20:36 deraadt Exp $ */
+/* $OpenBSD: utils.c,v 1.7 2003/04/25 21:40:52 deraadt Exp $ */
/*
* Top users/processes display for Unix
@@ -371,7 +371,7 @@ time_t seconds;
snprintf(result, sizeof(result), "%5.1fH",
(double)seconds / (double)(60l * 60l));
- /* It is possible that the sprintf took more than 6 characters.
+ /* It is possible that the snprintf took more than 6 characters.
If so, then the "H" appears as result[6]. If not, then there
is a \0 in result[6]. Either way, it is safe to step on.
*/