diff options
author | kris <kris@FreeBSD.org> | 2000-11-26 08:14:55 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-11-26 08:14:55 +0000 |
commit | 5d942789bc55036cd4482f8e510e743480410afc (patch) | |
tree | ddb464a1fd8566a67f721129edd0312509a3fc83 /usr.bin | |
parent | b78e6d6acc194d1a57d8cc09187c133f8ab4ef17 (diff) | |
download | FreeBSD-src-5d942789bc55036cd4482f8e510e743480410afc.zip FreeBSD-src-5d942789bc55036cd4482f8e510e743480410afc.tar.gz |
vsprintf() -> vsnprintf()
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/colldef/parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/colldef/parse.y b/usr.bin/colldef/parse.y index c4beb8b..5621a21 100644 --- a/usr.bin/colldef/parse.y +++ b/usr.bin/colldef/parse.y @@ -274,7 +274,7 @@ void yyerror(char *fmt, ...) char msg[128]; va_start(ap, fmt); - vsprintf(msg, fmt, ap); + vsnprintf(msg, sizeof(msg), fmt, ap); va_end(ap); errx(EX_UNAVAILABLE, "%s near line %d", msg, line_no); } |