diff options
| author | Weixie Cui <cuiweixie@gmail.com> | 2026-03-31 10:21:30 +0000 |
|---|---|---|
| committer | Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org> | 2026-04-22 20:51:48 +0000 |
| commit | edb302bb49e00723030b84624f16217f18760564 (patch) | |
| tree | 15406fcb394d42127b1217fd8e698b2bef07bee7 /sys/compat/linuxkpi | |
| parent | 47e1ca7f3720c76fdc729e03034fa53c798b9318 (diff) | |
Diffstat (limited to 'sys/compat/linuxkpi')
| -rw-r--r-- | sys/compat/linuxkpi/common/src/linux_netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linuxkpi/common/src/linux_netdev.c b/sys/compat/linuxkpi/common/src/linux_netdev.c index ce9153614104..11bbbfe6e279 100644 --- a/sys/compat/linuxkpi/common/src/linux_netdev.c +++ b/sys/compat/linuxkpi/common/src/linux_netdev.c @@ -405,7 +405,7 @@ linuxkpi_alloc_netdev(size_t len, const char *name, uint32_t flags, /* Always first as it zeros! */ linuxkpi_init_dummy_netdev(ndev); - strlcpy(ndev->name, name, sizeof(*ndev->name)); + strlcpy(ndev->name, name, sizeof(ndev->name)); /* This needs extending as we support more. */ |
