Signed-off-by: Michael Olbrich <m.olbrich@xxxxxxxxxxxxxx> --- fs/efivarfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/efivarfs.c b/fs/efivarfs.c index ebace8bc8fb1..925e8e8be113 100644 --- a/fs/efivarfs.c +++ b/fs/efivarfs.c @@ -153,7 +153,7 @@ static int efivars_create(struct device_d *dev, const char *pathname, mode_t mod inode->vendor = vendor; - name8 = strdup_wchar_to_char(inode->name); + name8 = xstrdup_wchar_to_char(inode->name); inode->full_name = asprintf("%s-%pUl", name8, &inode->vendor); free(name8); @@ -391,11 +391,11 @@ static int efivarfs_probe(struct device_d *dev) break; inode = xzalloc(sizeof(*inode)); - inode->name = strdup_wchar(name); + inode->name = xstrdup_wchar(name); inode->vendor = vendor; - name8 = strdup_wchar_to_char(inode->name); + name8 = xstrdup_wchar_to_char(inode->name); inode->full_name = asprintf("%s-%pUl", name8, &vendor); free(name8); -- 2.1.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox