diff options
| author | Tom Rini <[email protected]> | 2018-12-05 20:32:25 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-12-05 20:32:25 -0500 |
| commit | 2a055ea53260ac8addeeb94eb671172844bc9106 (patch) | |
| tree | 5998b40de7145d98b553d7eb78b7a16be79aac75 /drivers/net | |
| parent | 9450ab2ba8d720bd9f73bccc0af2e2b5a2c2aaf1 (diff) | |
| parent | b288cd9600724ad3a0e55c8786e70741dd13deae (diff) | |
Merge tag 'dm-pull-5dec18' of git://git.denx.de/u-boot-dm
Minor sandbox enhancements / fixes
tpm improvements to clear up v1/v2 support
buildman toolchain fixes
New serial options to set/get config
Diffstat (limited to 'drivers/net')
| -rw-r--r-- | drivers/net/sandbox-raw-bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sandbox-raw-bus.c b/drivers/net/sandbox-raw-bus.c index 76d65afe6c8..0086f25fc1f 100644 --- a/drivers/net/sandbox-raw-bus.c +++ b/drivers/net/sandbox-raw-bus.c @@ -42,7 +42,7 @@ static int eth_raw_bus_post_bind(struct udevice *dev) device_probe(child); priv = dev_get_priv(child); if (priv) { - memcpy(priv->host_ifname, i->if_name, IFNAMSIZ); + strcpy(priv->host_ifname, i->if_name); priv->host_ifindex = i->if_index; priv->local = local; } |
