Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224732
b: refs/heads/master
c: ead5d23
h: refs/heads/master
v: v3
  • Loading branch information
Jon Mason authored and David S. Miller committed Dec 1, 2010
1 parent 32724f0 commit f0d0a61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1bacdbb341e8c92c58651f06727318c3d0c1c30e
refs/heads/master: ead5d238146981f922e3848fac83825d87c518f0
2 changes: 1 addition & 1 deletion trunk/drivers/net/vxge/vxge-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3451,7 +3451,7 @@ static void vxge_device_unregister(struct __vxge_hw_device *hldev)
vxge_debug_entryexit(vdev->level_trace, "%s: %s:%d", vdev->ndev->name,
__func__, __LINE__);

memcpy(buf, dev->name, IFNAMSIZ);
strncpy(buf, dev->name, IFNAMSIZ);

/* in 2.6 will call stop() if device is up */
unregister_netdev(dev);
Expand Down

0 comments on commit f0d0a61

Please sign in to comment.