diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-07-12 20:51:54 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-07-15 11:20:42 +0200 |
commit | 60ae0b91fe78862a6cedc03966929258fa7a39e1 (patch) | |
tree | 51c3113e3b096506bc0f264b83fe11c1b11853e1 /block | |
parent | c2e8a52ca21473afbca4c98a362a299f5dbf13c8 (diff) |
rdmacm-mux: fix strcpy string warning
../contrib/rdmacm-mux/main.c: In function ‘parse_args’:
../contrib/rdmacm-mux/main.c:118:13: error: ‘strncpy’ specified bound 3835 equals destination size [-Werror=stringop-truncation]
118 | strncpy(unix_socket_path, optarg, SOCKET_PATH_MAX);
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20190712165154.11504-1-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions