From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZGBEj-0002MF-2F for barebox@lists.infradead.org; Fri, 17 Jul 2015 19:23:57 +0000 From: Michael Olbrich Date: Fri, 17 Jul 2015 21:22:45 +0200 Message-Id: <1437160969-31517-13-git-send-email-m.olbrich@pengutronix.de> In-Reply-To: <1437160969-31517-1-git-send-email-m.olbrich@pengutronix.de> References: <1437160969-31517-1-git-send-email-m.olbrich@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 12/16] fs: efi: use xstrdup_* when appropriate To: barebox@lists.infradead.org Cc: Michael Olbrich Signed-off-by: Michael Olbrich --- 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