summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-04-25 23:58:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-04-25 23:58:37 +0000
commit7f12043d872c347c6686f501319a7a1b60625fb7 (patch)
treee358f74c62871fae113e1446a78264e16ab299bb /usr.bin
parent89eeba07521b5406759a064da75e3f516ce7ffb0 (diff)
comment
Diffstat (limited to 'usr.bin')
-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