PERFORCE change 76065 for review

Robert Watson rwatson at FreeBSD.org
Wed Apr 27 10:21:16 GMT 2005


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

Change 76065 by rwatson at rwatson_paprika on 2005/04/27 10:21:11

	Use %zd for size_t to be more portable across OS/architectures.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_audit.c#10 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_audit.c#10 (text+ko) ====

@@ -331,7 +331,7 @@
 		/*
 		 * XXXRW: See au_close() comment.
 		 */
-		fprintf(stderr, "au_close_buffer failed %d", tot_rec_size);
+		fprintf(stderr, "au_close_buffer failed %zd", tot_rec_size);
 		errno = ENOMEM;
 		retval = -1;
 		goto cleanup;
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list