Date: Wed, 29 Nov 2006 20:15:20 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 110689 for review Message-ID: <200611292015.kATKFKgx076849@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110689 Change 110689 by rwatson@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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611292015.kATKFKgx076849>