Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2007 00:32:14 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 127869 for review
Message-ID:  <200710210032.l9L0WEaV078691@repoman.freebsd.org>

index | next in thread | raw e-mail

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

Change 127869 by jb@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 {


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710210032.l9L0WEaV078691>