aboutsummaryrefslogtreecommitdiffstats
path: root/samples/markers/marker-example.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/markers/marker-example.c')
-rw-r--r--samples/markers/marker-example.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/markers/marker-example.c b/samples/markers/marker-example.c
index e787c6d..05e438f 100644
--- a/samples/markers/marker-example.c
+++ b/samples/markers/marker-example.c
@@ -19,7 +19,8 @@ static int my_open(struct inode *inode, struct file *file)
{
int i;
- trace_mark(subsystem_event, "%d %s", 123, "example string");
+ trace_mark(subsystem_event, "integer %d string %s", 123,
+ "example string");
for (i = 0; i < 10; i++)
trace_mark(subsystem_eventb, MARK_NOARGS);
return -EPERM;