On Mon, Apr 11, 2011 at 11:31 AM, Alex Elder <[email protected]> wrote:
> In "testcases/kernel/io/ltp-aiodio/aio-stress.c" there are a
> number of warnings that show up due to mismatches between
> fprintf() conversion specifications and the variables being
> formatted.
>
> Fix most of these by casting the variables to the right type;
> in one case a "%td" is used to signify a ptrdiff_t variable.
>
> Updated to address comments made by Garrett Cooper in review.
> However, both "file_size" and "context_offset" variables represent
> file offsets, and therefore should remain type off_t (rather than
> size_t, which was recommended). Some printf() formats were
> adjusted to use %ld/(long) for printing off_t values.
Fine minus IO's -> I/O and space between cast values.
Thanks,
-Garrett
------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now! http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list