diff options
author | Xin LI <delphij@FreeBSD.org> | 2014-03-11 00:25:55 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2014-03-11 00:25:55 +0000 |
commit | 0bd8e9dcc42c45f857c9989c87d7450aa00ecf73 (patch) | |
tree | a9388523f68a9e265d83fb0dbab7fd733f6af1b4 /sys/nlm | |
parent | 8e41e26f652d834ae6a289a5e4286e0725941349 (diff) | |
download | src-0bd8e9dcc42c45f857c9989c87d7450aa00ecf73.tar.gz src-0bd8e9dcc42c45f857c9989c87d7450aa00ecf73.zip |
Notes
Diffstat (limited to 'sys/nlm')
-rw-r--r-- | sys/nlm/nlm_prot_impl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nlm/nlm_prot_impl.c b/sys/nlm/nlm_prot_impl.c index 387b0090578c..74fae870efa3 100644 --- a/sys/nlm/nlm_prot_impl.c +++ b/sys/nlm/nlm_prot_impl.c @@ -1072,7 +1072,7 @@ nlm_find_host_by_addr(const struct sockaddr *addr, int vers) break; #endif default: - strcmp(tmp, "<unknown>"); + strlcpy(tmp, "<unknown>", sizeof(tmp)); } |