diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-08-25 07:15:21 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2004-08-25 07:15:21 +0000 |
commit | a91c0ae0effd99e45636ea5cfb04168aa088013c (patch) | |
tree | e0b53feb1ab7513c64037e0216d715873bdeaeca /source/ntvfs/nbench | |
parent | 3b273d835baedf0bdf3bedd86e093d1655ecd534 (diff) | |
download | samba-a91c0ae0effd99e45636ea5cfb04168aa088013c.tar.gz samba-a91c0ae0effd99e45636ea5cfb04168aa088013c.tar.xz samba-a91c0ae0effd99e45636ea5cfb04168aa088013c.zip |
r2055: Add PRINTF_ATTRIBUTE to many more parts of the code, and a new
--enable-developer warning for when they are missing.
Andrew Bartlett
Diffstat (limited to 'source/ntvfs/nbench')
-rw-r--r-- | source/ntvfs/nbench/vfs_nbench.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/ntvfs/nbench/vfs_nbench.c b/source/ntvfs/nbench/vfs_nbench.c index dceaa9f45bb..e4e5af4171e 100644 --- a/source/ntvfs/nbench/vfs_nbench.c +++ b/source/ntvfs/nbench/vfs_nbench.c @@ -39,6 +39,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, ...) { va_list ap; |