summaryrefslogtreecommitdiff
path: root/usr.bin/vi/common
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-04-25 23:30:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-04-25 23:30:22 +0000
commit9aeb8c610f0f34fe1b446bc071b406a2119ee3a0 (patch)
tree05809b1d90a6a186d80e7d1cf72749f3c87d1858 /usr.bin/vi/common
parent47c8b338c1262d3d64a3626080f31a2fa04141da (diff)
fix comment
Diffstat (limited to 'usr.bin/vi/common')
-rw-r--r--usr.bin/vi/common/msg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/vi/common/msg.c b/usr.bin/vi/common/msg.c
index 14e54df71fe..280c91c4a27 100644
--- a/usr.bin/vi/common/msg.c
+++ b/usr.bin/vi/common/msg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msg.c,v 1.12 2003/04/17 02:22:56 itojun Exp $ */
+/* $OpenBSD: msg.c,v 1.13 2003/04/25 23:30:21 deraadt Exp $ */
/*-
* Copyright (c) 1991, 1993, 1994
@@ -167,8 +167,8 @@ retry: FREE_SPACE(sp, bp, blen);
/*
* Nvi should run on machines that don't support the numbered argument
* specifications (%[digit]*$). We do this by reformatting the string
- * so that we can hand it to vsprintf(3) and it will use the arguments
- * in the right order. When vsprintf returns, we put the string back
+ * so that we can hand it to vnsprintf(3) and it will use the arguments
+ * in the right order. When vsnprintf returns, we put the string back
* into the right order. It's undefined, according to SVID III, to mix
* numbered argument specifications with the standard style arguments,
* so this should be safe.