projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
samples: Replace strlcpy() with strscpy()
[linux-2.6-microblaze.git]
/
samples
/
trace_events
/
trace-events-sample.h
diff --git
a/samples/trace_events/trace-events-sample.h
b/samples/trace_events/trace-events-sample.h
index
1c6b843
..
23f923c
100644
(file)
--- a/
samples/trace_events/trace-events-sample.h
+++ b/
samples/trace_events/trace-events-sample.h
@@
-305,7
+305,7
@@
TRACE_EVENT(foo_bar,
),
TP_fast_assign(
- str
l
cpy(__entry->foo, foo, 10);
+ str
s
cpy(__entry->foo, foo, 10);
__entry->bar = bar;
memcpy(__get_dynamic_array(list), lst,
__length_of(lst) * sizeof(int));