Date: Thu, 30 Oct 2014 17:01:16 -0400 (EDT) From: Rick Macklem <rmacklem@uoguelph.ca> To: Freebsd hackers list <freebsd-hackers@freebsd.org> Subject: how to kernel printf a int64_t? Message-ID: <439339249.2551223.1414702876172.JavaMail.root@uoguelph.ca>
next in thread | raw e-mail | index | archive | help
Hi,
I feel kinda dumb asking this, but...
int64_t i;
printf("%qd\n", (u_quad_t)i);
works but looks dorky, to put it technically;-).
Is there a better way to printf() a int64_t in the kernel?
Thanks for any answers, rick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?439339249.2551223.1414702876172.JavaMail.root>
