svn commit: r195834 - projects/libprocstat/usr.bin/fstat

Stanislav Sedov stas at FreeBSD.org
Thu Jul 23 18:38:29 UTC 2009


Author: stas
Date: Thu Jul 23 18:38:28 2009
New Revision: 195834
URL: http://svn.freebsd.org/changeset/base/195834

Log:
  - Fix a typo.

Modified:
  projects/libprocstat/usr.bin/fstat/libprocstat.c

Modified: projects/libprocstat/usr.bin/fstat/libprocstat.c
==============================================================================
--- projects/libprocstat/usr.bin/fstat/libprocstat.c	Thu Jul 23 16:21:01 2009	(r195833)
+++ projects/libprocstat/usr.bin/fstat/libprocstat.c	Thu Jul 23 18:38:28 2009	(r195834)
@@ -989,7 +989,7 @@ procstat_get_socket_info_kvm(kvm_t *kd, 
 	switch(dom.dom_family) {
 	case AF_INET:
 	case AF_INET6:
-		if (proto.pr_protocol == IPPROTO_TCP ) {
+		if (proto.pr_protocol == IPPROTO_TCP) {
 			if (s.so_pcb) {
 				if (kvm_read(kd, (u_long)s.so_pcb,
 				    (char *)&inpcb, sizeof(struct inpcb))


More information about the svn-src-projects mailing list