summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-10-29 08:44:25 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-10-29 08:47:33 -0400
commitd5b9857609401e3cf9c53b111134a6aab8e4573c (patch)
treed3760c61f661d53a4b06c3deeb630842d595ae6d /web
parentfa1d37502c87310886614949a8d72124762b2dcb (diff)
downloadjsnbd-d5b9857609401e3cf9c53b111134a6aab8e4573c.tar.gz
jsnbd-d5b9857609401e3cf9c53b111134a6aab8e4573c.zip
client: fix gcc8 stringop-truncation warnings
| In function 'open_nbd_socket.isra.2', | inlined from 'main' at ../git/nbd-proxy.c:835:7: | ../git/nbd-proxy.c:102:2: error: 'strncpy' specified bound 108 equals destination size [-Werror=stringop-truncation] | strncpy(addr.sun_path, path, sizeof(addr.sun_path)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Change-Id: I9f412d789f4e5ef1dffe05b37d903a5375fea8ec Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'web')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud