X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm.h;h=82a8fc21c6b8860a7a5b3f2122c545ed9ada9746;hb=9881f0e9f9327b8acdab8d119c2c7c4274ee69b9;hp=cafc5abbad7ded3151af3435402ae93fcb8303e0;hpb=f31fa47b9cc6f4aaa8d082cc18c0c97f016825e2;p=palacios.git diff --git a/palacios/include/palacios/vmm.h b/palacios/include/palacios/vmm.h index cafc5ab..82a8fc2 100644 --- a/palacios/include/palacios/vmm.h +++ b/palacios/include/palacios/vmm.h @@ -211,9 +211,12 @@ struct guest_info; /* This will contain function pointers that provide OS services */ struct v3_os_hooks { - void (*print_info)(const char * format, ...); - void (*print_debug)(const char * format, ...); - void (*print_trace)(const char * format, ...); + void (*print_info)(const char * format, ...) + __attribute__ ((format (printf, 1, 2))); + void (*print_debug)(const char * format, ...) + __attribute__ ((format (printf, 1, 2))); + void (*print_trace)(const char * format, ...) + __attribute__ ((format (printf, 1, 2))); void *(*allocate_pages)(int numPages); void (*free_page)(void * page);