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);
                        }
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to