Signed-off-by: Michael Olbrich <m.olbr...@pengutronix.de>
---
 fs/efi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/efi.c b/fs/efi.c
index 8f4739a99e24..a7adcb98db57 100644
--- a/fs/efi.c
+++ b/fs/efi.c
@@ -114,9 +114,9 @@ static wchar_t *path_to_efi(const char *path)
        wchar_t *ret;
 
        if (!*path)
-               return strdup_char_to_wchar("\\");
+               return xstrdup_char_to_wchar("\\");
 
-       dst = strdup_char_to_wchar(path);
+       dst = xstrdup_char_to_wchar(path);
        if (!dst)
                return NULL;
 
-- 
2.1.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to