Skip to content

Commit

Permalink
[nozzle] fix buffer size
Browse files Browse the repository at this point in the history
detected by gcc10

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Jan 21, 2020
1 parent 7efd506 commit 5bd3c7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libnozzle/internals.h
Expand Up @@ -34,7 +34,7 @@ struct nozzle_lib_config {
#define UPDOWN_PATH_MAX PATH_MAX - 11 - 1 - IFNAMSIZ

struct nozzle_iface {
char name[IFNAMSIZ - 1]; /* interface name */
char name[IFNAMSIZ]; /* interface name */
int fd; /* interface fd */
int up; /* interface status 0 is down, 1 is up */
/*
Expand Down

0 comments on commit 5bd3c7d

Please sign in to comment.