On Tuesday 21 July 2009 10:21:44 Garrett Cooper wrote:
> I was tempted to fix the format string error, but I don't know what
> the potential implications are of switching the data type from
> u_int64_t to unsigned long long...

dont do that.  just use the proper format string from inttypes.h.
uint64_t f;
printf("f = %"PRIu64"\n", f);

> +/* Dummy function reference to avoid compiler warning from
> linux_syscall_numbers.h. */
> +extern void cleanup() { }

this is incorrect for a few reasons.  it should read:
+/* Dummy function as syscall() from linux_syscall_numbers.h uses cleanup() */
void cleanup() { }
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to