]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Fixed an error
authorHenrik Kjölhede <hkjolhede@gmail.com>
Wed, 3 Jun 2015 18:43:59 +0000 (20:43 +0200)
committerHenrik Kjölhede <hkjolhede@gmail.com>
Wed, 3 Jun 2015 18:43:59 +0000 (20:43 +0200)
Signed-off-by: Henrik Kjölhede <hkjolhede@gmail.com>
src/lxc/lxc_user_nic.c

index da11cc22eb03aa0845ee418fd29f19a546753756..49d1ed75aa273c3aee73c84fc7a26b4a251b09e6 100644 (file)
@@ -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;
        }