wibindd: Fix format-nonliteral warning
authorAmitay Isaacs <amitay@gmail.com>
Mon, 8 Aug 2016 04:22:30 +0000 (14:22 +1000)
committerJeremy Allison <jra@samba.org>
Tue, 23 Aug 2016 23:33:51 +0000 (01:33 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12168

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/idmap_tdb2.c

index 1b75936f9a315bfecbb38e4feca9c213b09ff565..fdcd44eb635261408f0ebd1907b9488d9e325f4f 100644 (file)
@@ -256,6 +256,10 @@ done:
      SID:xxxx
      ERR:xxxx
  */
+static NTSTATUS idmap_tdb2_script(struct idmap_tdb2_context *ctx,
+                                 struct id_map *map, const char *fmt, ...)
+                                 PRINTF_ATTRIBUTE(3,4);
+
 static NTSTATUS idmap_tdb2_script(struct idmap_tdb2_context *ctx, struct id_map *map,
                                  const char *fmt, ...)
 {