X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm.h;h=3b57710f7e1690d14f9d8c40daed4e7996b0d7e6;hb=03a41b18bdb6ce4bf666f18acdaf302e2360efdc;hp=cafc5abbad7ded3151af3435402ae93fcb8303e0;hpb=a2b7cc4f2d739213d1edefb85ff941c41c86907b;p=palacios.git diff --git a/palacios/include/palacios/vmm.h b/palacios/include/palacios/vmm.h index cafc5ab..3b57710 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);