summaryrefslogtreecommitdiff
path: root/apps/examples/pashello/pashello.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/pashello/pashello.c')
-rw-r--r--apps/examples/pashello/pashello.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/examples/pashello/pashello.c b/apps/examples/pashello/pashello.c
index ae19c94f5..5e2fe8bf3 100644
--- a/apps/examples/pashello/pashello.c
+++ b/apps/examples/pashello/pashello.c
@@ -99,10 +99,10 @@ static void prun(FAR struct pexec_s *st)
****************************************************************************/
/****************************************************************************
- * user_start
+ * pashello_main
****************************************************************************/
-int user_start(int argc, FAR char *argv[])
+int pashello_main(int argc, FAR char *argv[])
{
FAR struct pexec_s *st;
@@ -115,11 +115,11 @@ int user_start(int argc, FAR char *argv[])
st = pload("/dev/hello", CONFIG_PASHELLO_VARSTACKSIZE, CONFIG_PASHELLO_STRSTACKSIZE);
if (!st)
{
- fprintf(stderr, "user_start: ERROR: Could not load /dev/hello\n");
+ fprintf(stderr, "pashello_main: ERROR: Could not load /dev/hello\n");
exit(1);
}
- printf("user_start: /dev/hello Loaded\n");
- printf("user_start: Interpreter started:\n");
+ printf("pashello_main: /dev/hello Loaded\n");
+ printf("pashello_main: Interpreter started:\n");
/* And start program execution */
@@ -127,7 +127,7 @@ int user_start(int argc, FAR char *argv[])
/* Clean up resources used by the interpreter */
- printf("user_start: Interpreter terminated");
+ printf("pashello_main: Interpreter terminated");
pexec_release(st);
return 0;
}