Commit 7fa24af
committed
lkl: Fix -Wstringop-truncation
lib/virtio_net_tap.c: In function ‘lkl_netdev_tap_create’:
lib/virtio_net_tap.c:107:2: warning: ‘strncpy’ specified bound 16 equals
destination size [-Wstringop-truncation]
Signed-off-by: Andreas Gnau <Rondom@Rondom.de>1 parent b97bc5b commit 7fa24af
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
0 commit comments