PERFORCE change 110689 for review

Robert Watson rwatson at FreeBSD.org
Wed Nov 29 12:46:28 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=110689

Change 110689 by rwatson at rwatson_fledge on 2006/11/29 20:15:09

	Swap incorrect argument order when converting policy entries to
	strings in audump.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/tools/audump.c#7 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/tools/audump.c#7 (text+ko) ====

@@ -23,7 +23,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $P4: //depot/projects/trustedbsd/openbsm/tools/audump.c#6 $
+ * $P4: //depot/projects/trustedbsd/openbsm/tools/audump.c#7 $
  */
 
 #include <bsm/libbsm.h>
@@ -123,7 +123,7 @@
 		err(-1, "getacpol");
 	if (au_strtopol(string, &policy) < 0)
 		err(-1, "au_strtopol");
-	if (au_poltostr(policy, string2, PATH_MAX) < 0)
+	if (au_poltostr(policy, PATH_MAX, string2) < 0)
 		err(-1, "au_poltostr");
 	printf("policy:%s\n", string2);
 }


More information about the trustedbsd-cvs mailing list