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>
1 file changed