9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Unexpected complaint
@ 2013-04-02  6:54 lucio
  2013-04-02  7:02 ` Yaroslav
  0 siblings, 1 reply; 5+ messages in thread
From: lucio @ 2013-04-02  6:54 UTC (permalink / raw)
  To: 9fans

The following code triggers a warning:

	#include <u.h>
	#include <libc.h>

	int main() {
		unsigned long long val = 0;

		print("VAL: %llu\n", val);
		return 0;
	}

warning: llu.c:7 format mismatch llu
 UVLONG, arg 2

and produces the damnedest output:

VAL: %
%(not terminated by a newline).

Something's not right, anybody know what the cause is?  And maybe the
cure?

++L




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-02  8:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-02  6:54 [9fans] Unexpected complaint lucio
2013-04-02  7:02 ` Yaroslav
2013-04-02  7:27   ` lucio
2013-04-02  8:15     ` Charles Forsyth
2013-04-02  8:18       ` lucio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).