svn commit: r190119 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

Christian S.J. Peron csjp at FreeBSD.org
Thu Mar 19 17:38:17 PDT 2009


Author: csjp
Date: Fri Mar 20 00:38:14 2009
New Revision: 190119
URL: http://svn.freebsd.org/changeset/base/190119

Log:
  MFC r182090
  
  - use sbuf_putc instead of sbuf_cat

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/cxgb/   (props changed)
  stable/7/sys/security/audit/audit_bsm_klib.c

Modified: stable/7/sys/security/audit/audit_bsm_klib.c
==============================================================================
--- stable/7/sys/security/audit/audit_bsm_klib.c	Fri Mar 20 00:34:50 2009	(r190118)
+++ stable/7/sys/security/audit/audit_bsm_klib.c	Fri Mar 20 00:38:14 2009	(r190119)
@@ -574,7 +574,7 @@ audit_canon_path(struct thread *td, char
 		free(fbuf, M_TEMP);
 	}
 	if (cwir == 0 || (cwir != 0 && cvnp == NULL))
-		(void) sbuf_cat(&sbf, "/");
+		(void) sbuf_putc(&sbf, '/');
 	/*
 	 * Now that we have processed any alternate root and relative path
 	 * names, add the supplied pathname.


More information about the svn-src-stable-7 mailing list