diff options
author | Steven Rostedt <srostedt@redhat.com> | 2013-01-09 20:54:17 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-01-09 20:54:17 -0500 |
commit | a8dd2176a8e988e3744e863ac39647a6f59fa900 (patch) | |
tree | 2f848f44ae3a614d9b7d13e156e5bc7429c40113 /Documentation/mmc | |
parent | d1c3ed669a2d452cacfb48c2d171a1f364dae2ed (diff) | |
download | op-kernel-dev-a8dd2176a8e988e3744e863ac39647a6f59fa900.zip op-kernel-dev-a8dd2176a8e988e3744e863ac39647a6f59fa900.tar.gz |
tracing: Fix regression of trace_options file setting
The latest change to allow trace options to be set on the command
line also broke the trace_options file.
The zeroing of the last byte of the option name that is echoed into
the trace_option file was removed with the consolidation of some
of the code. The compare between the option and what was written to
the trace_options file fails because the string holding the data
written doesn't terminate with a null character.
A zero needs to be added to the end of the string copied from
user space.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/mmc')
0 files changed, 0 insertions, 0 deletions