svn commit: r207513 - stable/8/sys/kern
Bjoern A. Zeeb
bz at FreeBSD.org
Sun May 2 15:58:25 UTC 2010
Author: bz
Date: Sun May 2 15:58:25 2010
New Revision: 207513
URL: http://svn.freebsd.org/changeset/base/207513
Log:
MFC r207116:
Remove one zero from the double-0.
This code doesn't have a license to kill.
Modified:
stable/8/sys/kern/kern_descrip.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
stable/8/sys/geom/sched/ (props changed)
Modified: stable/8/sys/kern/kern_descrip.c
==============================================================================
--- stable/8/sys/kern/kern_descrip.c Sun May 2 15:55:29 2010 (r207512)
+++ stable/8/sys/kern/kern_descrip.c Sun May 2 15:58:25 2010 (r207513)
@@ -2896,7 +2896,7 @@ sysctl_kern_proc_ofiledesc(SYSCTL_HANDLE
free(sa, M_SONAME);
}
if (so->so_proto->pr_usrreqs->pru_peeraddr(so, &sa)
- == 00 && sa->sa_len <= sizeof(kif->kf_sa_peer)) {
+ == 0 && sa->sa_len <= sizeof(kif->kf_sa_peer)) {
bcopy(sa, &kif->kf_sa_peer, sa->sa_len);
free(sa, M_SONAME);
}
@@ -3149,7 +3149,7 @@ sysctl_kern_proc_filedesc(SYSCTL_HANDLER
free(sa, M_SONAME);
}
if (so->so_proto->pr_usrreqs->pru_peeraddr(so, &sa)
- == 00 && sa->sa_len <= sizeof(kif->kf_sa_peer)) {
+ == 0 && sa->sa_len <= sizeof(kif->kf_sa_peer)) {
bcopy(sa, &kif->kf_sa_peer, sa->sa_len);
free(sa, M_SONAME);
}
More information about the svn-src-all
mailing list