From: Henrik Kjölhede Date: Wed, 3 Jun 2015 18:43:59 +0000 (+0200) Subject: Fixed an error X-Git-Tag: lxc-2.0.0.beta1~238^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc6bb7539b6622d9a407ccdff3b35868c744582a;p=thirdparty%2Flxc.git Fixed an error Signed-off-by: Henrik Kjölhede --- 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; }