diff options
author | Amitay Isaacs <amitay@gmail.com> | 2016-08-08 14:17:18 +1000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-08-24 01:33:50 +0200 |
commit | 2d47c2b7a15ce228a201dfda63455acbff981680 (patch) | |
tree | 6ca571506ba796d47ffb864167e01307bf04fa5a /source3/lib/netapi | |
parent | 4b4d3643555a68f585e38e37604ed4ecae9137f5 (diff) | |
download | samba-2d47c2b7a15ce228a201dfda63455acbff981680.tar.gz |
s3-netapi: Fix format-nonliteral warning
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>
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r-- | source3/lib/netapi/netapi_private.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/lib/netapi/netapi_private.h b/source3/lib/netapi/netapi_private.h index 897cf3d0b38..4d028251c43 100644 --- a/source3/lib/netapi/netapi_private.h +++ b/source3/lib/netapi/netapi_private.h @@ -55,7 +55,9 @@ struct libnetapi_private_ctx { NET_API_STATUS libnetapi_get_password(struct libnetapi_ctx *ctx, char **password); NET_API_STATUS libnetapi_get_username(struct libnetapi_ctx *ctx, char **username); -NET_API_STATUS libnetapi_set_error_string(struct libnetapi_ctx *ctx, const char *format, ...); +NET_API_STATUS libnetapi_set_error_string(struct libnetapi_ctx *ctx, + const char *format, ...) + PRINTF_ATTRIBUTE(2,3); NET_API_STATUS libnetapi_get_debuglevel(struct libnetapi_ctx *ctx, char **debuglevel); WERROR libnetapi_shutdown_cm(struct libnetapi_ctx *ctx); |