Clean up warnings regarding printf.

This commit is contained in:
Roy Marples
2008-10-08 15:56:47 +00:00
parent 5cdc489573
commit 8c8751fa60
4 changed files with 69 additions and 71 deletions

View File

@ -557,7 +557,7 @@ static bool svc_wait(const char *svc)
static RC_SERVICE svc_status(void)
{
char status[10];
int (*e) (const char *fmt, ...) __EINFO_PRINTF = einfo;
int (*e) (const char *fmt, ...) EINFO_PRINTF(1, 2) = einfo;
RC_SERVICE state = rc_service_state(service);
if (state & RC_SERVICE_STOPPING) {