[PATCH 12/16] fs: efi: use xstrdup_* when appropriate
Michael Olbrich
m.olbrich at pengutronix.de
Fri Jul 17 12:22:45 PDT 2015
Signed-off-by: Michael Olbrich <m.olbrich at 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
More information about the barebox
mailing list