diff options
author | bde <bde@FreeBSD.org> | 1999-10-03 07:09:31 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-10-03 07:09:31 +0000 |
commit | c9a0e8b1268aa88b2fa9e6035de416900322a4ed (patch) | |
tree | caf670eff48932403506e8b1c7ea1937664f5c2c /sys/netncp | |
parent | 796028356cfc56cccaed291266a06d20b1da6c7d (diff) | |
download | FreeBSD-src-c9a0e8b1268aa88b2fa9e6035de416900322a4ed.zip FreeBSD-src-c9a0e8b1268aa88b2fa9e6035de416900322a4ed.tar.gz |
Fixed "misspelling" of bcmp as memcmp. memcmp doesn't exist in the
kernel, but gcc provides a pessimal builtin for it.
Makefile.i386:
Added a variable (CONF_CFLAGS) for configuration-specific compiler flags.
LINT:
Use CONF_CFLAGS to inhibit use of gcc builtins.
Diffstat (limited to 'sys/netncp')
-rw-r--r-- | sys/netncp/ncp_conn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netncp/ncp_conn.c b/sys/netncp/ncp_conn.c index d02ca48f..84b1603 100644 --- a/sys/netncp/ncp_conn.c +++ b/sys/netncp/ncp_conn.c @@ -292,7 +292,7 @@ ncp_conn_getattached(struct ncp_conn_args *li,struct proc *p,struct ucred *cred, if ((ncp->flags & NCPFL_LOGGED) != 0 || strcmp(ncp->li.server,li->server) != 0 || ncp->li.saddr.sa_len != li->saddr.sa_len || - memcmp(&ncp->li.saddr,&ncp->li.saddr,li->saddr.sa_len) != 0) + bcmp(&ncp->li.saddr,&ncp->li.saddr,li->saddr.sa_len) != 0) continue; if (ncp_suser(cred) == 0 || cred->cr_uid == ncp->nc_owner->cr_uid) |