summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/run.h
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/run.h')
-rw-r--r--libglusterfs/src/run.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/run.h b/libglusterfs/src/run.h
index dd19972d07e..76af95fd27f 100644
--- a/libglusterfs/src/run.h
+++ b/libglusterfs/src/run.h
@@ -81,8 +81,8 @@ runner_add_args(runner_t *runner, ...);
* @param format printf style format specifier
*/
void
-runner_argprintf(runner_t *runner, const char *format, ...);
-
+runner_argprintf(runner_t *runner, const char *format, ...)
+ __attribute__((__format__(__printf__, 2, 3)));
/**
* log a message about the command to be run.
*