summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-04-25 23:58:36 +0000
committerderaadt <deraadt@openbsd.org>2003-04-25 23:58:36 +0000
commit7979a71ec4ca3936fceef4805128bd20d5d54679 (patch)
tree261311f92505fa9328afd984b27f9405f134d388
parentstring cleanup (diff)
downloadwireguard-openbsd-7979a71ec4ca3936fceef4805128bd20d5d54679.tar.xz
wireguard-openbsd-7979a71ec4ca3936fceef4805128bd20d5d54679.zip
comment
-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 8bd3c3edd7f..beef9df2894 100644
--- a/usr.bin/top/utils.c
+++ b/usr.bin/top/utils.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: utils.c,v 1.7 2003/04/25 21:40:52 deraadt Exp $ */
+/* $OpenBSD: utils.c,v 1.8 2003/04/25 23:58:36 deraadt Exp $ */
/*
* Top users/processes display for Unix
@@ -400,7 +400,7 @@ time_t seconds;
* Compromise time. We need to return a string, but we don't want the
* caller to have to worry about freeing a dynamically allocated string.
* Unfortunately, we can't just return a pointer to a static area as one
- * of the common uses of this function is in a large call to sprintf where
+ * of the common uses of this function is in a large call to snprintf where
* it might get invoked several times. Our compromise is to maintain an
* array of strings and cycle thru them with each invocation. We make the
* array large enough to handle the above mentioned case. The constant