summaryrefslogtreecommitdiffstats
path: root/src/usr/example/example.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/example/example.C')
-rw-r--r--src/usr/example/example.C7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/usr/example/example.C b/src/usr/example/example.C
index 632eb6882..290d8abc4 100644
--- a/src/usr/example/example.C
+++ b/src/usr/example/example.C
@@ -12,9 +12,12 @@ trace_desc_t *g_trac_test = NULL;
TRAC_INIT(&g_trac_test, "EXAMPLE", 4096);
extern "C"
-void _start(void*)
+void _start(void *ptr)
{
- printk("Executing example module.\n");
+ /**
+ * @todo fix printk to accept (NULL)
+ */
+ printk( "Executing Example module, arg=%s\n", ( (ptr==NULL) ? "(NULL)" : (char*)ptr ) );
task_end();
}
OpenPOWER on IntegriCloud