diff options
author | 2003-04-25 23:44:08 +0000 | |
---|---|---|
committer | 2003-04-25 23:44:08 +0000 | |
commit | 81046efae6a526b431edbe1e953563ffe946dcdb (patch) | |
tree | 57dc8185efc4ec09fb445f8638d046d95c91ba6e | |
parent | sprintf -> snprintf and add a couple of size checks to ensure against (diff) | |
download | wireguard-openbsd-81046efae6a526b431edbe1e953563ffe946dcdb.tar.xz wireguard-openbsd-81046efae6a526b431edbe1e953563ffe946dcdb.zip |
oops
-rw-r--r-- | usr.bin/vi/common/msg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vi/common/msg.c b/usr.bin/vi/common/msg.c index 280c91c4a27..5adb67906ce 100644 --- a/usr.bin/vi/common/msg.c +++ b/usr.bin/vi/common/msg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msg.c,v 1.13 2003/04/25 23:30:21 deraadt Exp $ */ +/* $OpenBSD: msg.c,v 1.14 2003/04/25 23:44:08 deraadt Exp $ */ /*- * Copyright (c) 1991, 1993, 1994 @@ -167,7 +167,7 @@ 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 vnsprintf(3) and it will use the arguments + * so that we can hand it to vsnprintf(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, |