PR/50535: David Binderman: Fix nonsense strcmp
This commit is contained in:
parent
94b599c97e
commit
04cb474ace
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nlm_prot_impl.c,v 1.1.1.1 2013/09/30 07:19:45 dholland Exp $ */
|
||||
/* $NetBSD: nlm_prot_impl.c,v 1.2 2015/12/13 18:31:09 christos Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 2008 Isilon Inc http://www.isilon.com/
|
||||
* Authors: Doug Rabson <dfr@rabson.org>
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
/* __FBSDID("FreeBSD: head/sys/nlm/nlm_prot_impl.c 255333 2013-09-06 23:14:31Z rmacklem "); */
|
||||
__RCSID("$NetBSD: nlm_prot_impl.c,v 1.1.1.1 2013/09/30 07:19:45 dholland Exp $");
|
||||
__RCSID("$NetBSD: nlm_prot_impl.c,v 1.2 2015/12/13 18:31:09 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/fail.h>
|
||||
|
@ -1074,7 +1074,7 @@ nlm_find_host_by_addr(const struct sockaddr *addr, int vers)
|
|||
break;
|
||||
#endif
|
||||
default:
|
||||
strcmp(tmp, "<unknown>");
|
||||
strcpy(tmp, "<unknown>");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue