PERFORCE change 127869 for review

John Birrell jb at FreeBSD.org
Sat Oct 20 17:35:02 PDT 2007


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

Change 127869 by jb at jb_freebsd1 on 2007/10/21 00:31:49

	Fix the printf format warning here too.

Affected files ...

.. //depot/projects/dtrace/src/contrib/opensolaris/tools/ctf/dump/dump.c#7 edit

Differences ...

==== //depot/projects/dtrace/src/contrib/opensolaris/tools/ctf/dump/dump.c#7 (text) ====

@@ -533,9 +533,10 @@
 				if (size >= CTF_LSTRUCT_THRESH) {
 					for (i = 0; i < n; i++, u.lmp++) {
 						(void) printf(
-						    "\t%s type=%u off=%lu\n",
+						    "\t%s type=%u off=%llu\n",
 						    ref_to_str(u.lmp->ctlm_name,
 						    hp, cd), u.lmp->ctlm_type,
+						    (unsigned long long)
 						    CTF_LMEM_OFFSET(u.lmp));
 					}
 				} else {


More information about the p4-projects mailing list