projects
/
linux-3.10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Linux Kernel Markers: fix samples to follow format string standard
[linux-3.10.git]
/
samples
/
markers
/
probe-example.c
diff --git
a/samples/markers/probe-example.c
b/samples/markers/probe-example.c
index
238b2e3
..
a367975
100644
(file)
--- a/
samples/markers/probe-example.c
+++ b/
samples/markers/probe-example.c
@@
-53,7
+53,7
@@
void probe_subsystem_eventb(const struct marker *mdata, void *private,
static struct probe_data probe_array[] =
{
{ .name = "subsystem_event",
- .format = "%d %s",
+ .format = "integer %d string %s",
.probe_func = probe_subsystem_event },
{ .name = "subsystem_eventb",
.format = MARK_NOARGS,