aboutsummaryrefslogtreecommitdiff
path: root/networking/vconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/vconfig.c')
-rw-r--r--networking/vconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/vconfig.c b/networking/vconfig.c
index 3f12e7609..69c729a14 100644
--- a/networking/vconfig.c
+++ b/networking/vconfig.c
@@ -133,7 +133,7 @@ int vconfig_main(int argc, char **argv)
133 if (ifr.cmd == SET_VLAN_NAME_TYPE_CMD) { /* set_name_type */ 133 if (ifr.cmd == SET_VLAN_NAME_TYPE_CMD) { /* set_name_type */
134 ifr.u.name_type = *xfind_str(name_types+1, argv[1]); 134 ifr.u.name_type = *xfind_str(name_types+1, argv[1]);
135 } else { 135 } else {
136 strncpy(ifr.device1, argv[1], IFNAMSIZ); 136 strncpy_IFNAMSIZ(ifr.device1, argv[1]);
137 p = argv[2]; 137 p = argv[2];
138 138
139 /* I suppose one could try to combine some of the function calls below, 139 /* I suppose one could try to combine some of the function calls below,