summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-07-17 21:22:45 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-07-27 07:23:19 +0200
commitf28b86ea277707c564630abf3cdd8830d7eac901 (patch)
tree2b29811f14135a779fedf22d7843a69206478704 /fs
parent89c142f4ef248ac9542903175cdc4eba73b97ae5 (diff)
downloadbarebox-f28b86ea277707c564630abf3cdd8830d7eac901.tar.gz
barebox-f28b86ea277707c564630abf3cdd8830d7eac901.tar.xz
fs: efi: use xstrdup_* when appropriate
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs')
-rw-r--r--fs/efi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/efi.c b/fs/efi.c
index 8f4739a99e..a7adcb98db 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;