From 5e869b4eabaf428b36b5bc158ab4047d25e3eb5b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 25 Aug 2004 07:15:21 +0000 Subject: r2055: Add PRINTF_ATTRIBUTE to many more parts of the code, and a new --enable-developer warning for when they are missing. Andrew Bartlett (This used to be commit 8115e44d47bcd65edba08d10117180ae508cdbc1) --- source4/ntvfs/nbench/vfs_nbench.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/ntvfs') diff --git a/source4/ntvfs/nbench/vfs_nbench.c b/source4/ntvfs/nbench/vfs_nbench.c index dceaa9f45b..e4e5af4171 100644 --- a/source4/ntvfs/nbench/vfs_nbench.c +++ b/source4/ntvfs/nbench/vfs_nbench.c @@ -38,6 +38,9 @@ struct nbench_private { /* log one request to the nbench log */ +static void nbench_log(struct nbench_private *private, + const char *format, ...) PRINTF_ATTRIBUTE(2, 3); + static void nbench_log(struct nbench_private *private, const char *format, ...) { -- cgit