mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
kconfig: Fix warnings on format
Fixes warnings like: conf.c:79:3: warning: format not a string literal and no format arguments [-Wformat-security] printf(_("aborted!\n\n")); ^ Note: not all compilers show this warning. Change-Id: Ib1d8837c2a9a9a2378f65f90b9c2f239a52818b2 Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
ec4358f795
commit
120d6c68dc
@ -11,6 +11,8 @@
|
||||
#ifndef KBUILD_NO_NLS
|
||||
# include <libintl.h>
|
||||
#else
|
||||
# include <features.h>
|
||||
__attribute_format_arg__(1)
|
||||
static inline const char *gettext(const char *txt) { return txt; }
|
||||
static inline void textdomain(const char *domainname) {}
|
||||
static inline void bindtextdomain(const char *name, const char *dir) {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user