svn commit: r250312 - head/sys/netpfil/pf

Gleb Smirnoff glebius at FreeBSD.org
Mon May 6 21:43:16 UTC 2013


Author: glebius
Date: Mon May  6 21:43:15 2013
New Revision: 250312
URL: http://svnweb.freebsd.org/changeset/base/250312

Log:
  Simplify printf().

Modified:
  head/sys/netpfil/pf/pf.c

Modified: head/sys/netpfil/pf/pf.c
==============================================================================
--- head/sys/netpfil/pf/pf.c	Mon May  6 21:13:22 2013	(r250311)
+++ head/sys/netpfil/pf/pf.c	Mon May  6 21:43:15 2013	(r250312)
@@ -1103,10 +1103,9 @@ pf_state_insert(struct pfi_kif *kif, str
 		PF_HASHROW_UNLOCK(ih);
 		if (V_pf_status.debug >= PF_DEBUG_MISC) {
 			printf("pf: state insert failed: "
-			    "id: %016llx creatorid: %08x",
+			    "id: %016llx creatorid: %08x\n",
 			    (unsigned long long)be64toh(s->id),
 			    ntohl(s->creatorid));
-			printf("\n");
 		}
 		pf_detach_state(s);
 		return (-1);


More information about the svn-src-head mailing list