kernel: mem_domain: remove extra slash in Z_PROGBITS_SYM

The macro Z_PROGBITS_SYM has "\%" but this is not correct
usage to escape "%". So remove the extra slash. Note that
this macro is used directly to generate assembly code
so it cannot be "%%" as in escaping "%" in printf().

Fixes #40439

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2021-12-02 12:31:32 -08:00 committed by Anas Nashif
commit d387c863bb

View file

@ -81,7 +81,7 @@ struct z_app_region {
/* ARM has a quirk in that '@' denotes a comment, so we have to send /* ARM has a quirk in that '@' denotes a comment, so we have to send
* %progbits to the assembler instead. * %progbits to the assembler instead.
*/ */
#define Z_PROGBITS_SYM "\%" #define Z_PROGBITS_SYM "%"
#else #else
#define Z_PROGBITS_SYM "@" #define Z_PROGBITS_SYM "@"
#endif #endif