aboutsummaryrefslogtreecommitdiff
path: root/src/rc/runscript.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-10-08 15:56:47 +0000
committerRoy Marples <roy@marples.name>2008-10-08 15:56:47 +0000
commit8c8751fa60b529d190ca85857096cf741b0436de (patch)
tree4913d50a861ff45947d26fa75a29a97945536223 /src/rc/runscript.c
parent5cdc4895733ce3a723a5a58686a4d92a3c69c953 (diff)
Clean up warnings regarding printf.
Diffstat (limited to 'src/rc/runscript.c')
-rw-r--r--src/rc/runscript.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index 6dea2b2b..e263a4f4 100644
--- a/src/rc/runscript.c
+++ b/src/rc/runscript.c
@@ -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) {