diff --git a/src/lxc/lxc_user_nic.c b/src/lxc/lxc_user_nic.c index da11cc22e..49d1ed75a 100644 --- a/src/lxc/lxc_user_nic.c +++ b/src/lxc/lxc_user_nic.c @@ -281,7 +281,7 @@ static int get_alloted(char *me, char *intype, char *link, struct alloted_s **al * what to do if there are more than one applicable lines? not specified in the docs. * since getline is implemented with realloc, we don't need to free line until exiting func. */ - append_alloted(alloted, me, n); + append_alloted(alloted, name, n); count += n; break; }