Re: [LTP] [PATCH] Annotate tst_*() helpers with?__attribute__ ((format (printf, M, N)))

Cyril Hrubis
2009-08-31T10:07:04Z

Hi!
>
> include inttypes.h and use PRId64
>

That's still gives warning for me:

warning: format '%lld' expects type 'long long int', but argument 6 has type 'off_t'

>
> i converted some tests to do this already (fallocate maybe?)

Hmm, looks like there is loff_t used instead of off_t.

--
Cyril Hrubis
chrubis@suse.cz