mirror of
git://github.com/lxc/lxc
synced 2025-09-01 17:29:30 +00:00
confile: fix a typo (s/len/str/) in my previous patch
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
@@ -1651,7 +1651,7 @@ static int store_martian_option(char *line, void *data)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
strncpy(str, line, len);
|
strncpy(str, line, len);
|
||||||
len[len] = '\0';
|
str[len] = '\0';
|
||||||
list->elem = str;
|
list->elem = str;
|
||||||
lxc_list_add_tail(&conf->aliens, list);
|
lxc_list_add_tail(&conf->aliens, list);
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user