s3:utils: Fix buffer size for snprintf and format string
commitb86f44cbd0b1fcaf39c9edec764ecef2fd6a863b
authorAndreas Schneider <asn@samba.org>
Wed, 9 Aug 2017 06:37:38 +0000 (9 08:37 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 9 Aug 2017 11:37:47 +0000 (9 13:37 +0200)
tree67ff4ba64810aca4ff17a12121d8d90baeff2e8a
parent1c3b678e7dc7481cf2e97cdf136358d5fe53d9d3
s3:utils: Fix buffer size for snprintf and format string

GCC 7.1 produces an error:
‘snprintf’ output between 47 and 66 bytes into a destination of size 40

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12930

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Aug  9 13:37:47 CEST 2017 on sn-devel-144
source3/utils/status_profile.c