summaryrefslogtreecommitdiff
path: root/apps/examples/nxhello/nxhello_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nxhello/nxhello_main.c')
-rw-r--r--apps/examples/nxhello/nxhello_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/nxhello/nxhello_main.c b/apps/examples/nxhello/nxhello_main.c
index 4f6701aa5..38c2e52c2 100644
--- a/apps/examples/nxhello/nxhello_main.c
+++ b/apps/examples/nxhello/nxhello_main.c
@@ -211,7 +211,7 @@ static inline int nxhello_initialize(void)
# define MAIN_NAME_STRING "nxhello_main"
#else
# define MAIN_NAME user_start
-# define MAIN_NAME_STRING "user_start"
+# define MAIN_NAME_STRING MAIN_NAME_STRING ""
#endif
int MAIN_NAME(int argc, char *argv[])
@@ -235,7 +235,7 @@ int MAIN_NAME(int argc, char *argv[])
g_nxhello.hfont = nxf_getfonthandle(NXFONT_DEFAULT);
if (!g_nxhello.hfont)
{
- message("user_start: Failed to get font handle: %d\n", errno);
+ message(MAIN_NAME_STRING ": Failed to get font handle: %d\n", errno);
g_nxhello.code = NXEXIT_FONTOPEN;
goto errout;
}