diff options
author | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-04-04 22:38:25 +0000 |
---|---|---|
committer | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-04-04 22:38:25 +0000 |
commit | 6410f15e3d8ebc6a933e3cb2909d35be8606b6cd (patch) | |
tree | f950f78ba6b6eea7c9940bd64f3d52bf078713b6 /usr.sbin | |
parent | 50bfa521cc42959a93afc88aad575cb73a2323b2 (diff) |
strlcpy, ok millert@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/map-mbone/mapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/map-mbone/mapper.c b/usr.sbin/map-mbone/mapper.c index f276868c126..2bffeae9d5a 100644 --- a/usr.sbin/map-mbone/mapper.c +++ b/usr.sbin/map-mbone/mapper.c @@ -181,7 +181,7 @@ log(int severity, int syserr, char *format, ...) va_start(ap, format); fmt[0] = '\0'; if (severity == LOG_WARNING) - strcat(fmt, "warning - "); + strlcat(fmt, "warning - ", sizeof(fmt)); strncat(fmt, format, 80); vfprintf(stderr, fmt, ap); va_end(ap); |