diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-07-17 21:22:45 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-07-27 07:23:19 +0200 |
commit | f28b86ea277707c564630abf3cdd8830d7eac901 (patch) | |
tree | 2b29811f14135a779fedf22d7843a69206478704 /fs/efi.c | |
parent | 89c142f4ef248ac9542903175cdc4eba73b97ae5 (diff) | |
download | barebox-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/efi.c')
-rw-r--r-- | fs/efi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |