diff options
author | 2022-10-08 08:32:50 +0000 | |
---|---|---|
committer | 2022-10-10 12:50:53 -0600 | |
commit | 9c1ab6d54a2e9e59b8922d12145d895e7f88b62c (patch) | |
tree | eea1901186b672c28a27b833671b6c1db897ed46 /scripts/generate_rust_analyzer.py | |
parent | checkpatch: warn on usage of VM_BUG_ON() and other BUG variants (diff) | |
download | wireguard-linux-9c1ab6d54a2e9e59b8922d12145d895e7f88b62c.tar.xz wireguard-linux-9c1ab6d54a2e9e59b8922d12145d895e7f88b62c.zip |
docs: ftrace: Correct access mode
The documentation gives an example for opening trace marker with
write-only mode, but the flag WR_ONLY is not defined by glibc.
Use O_WRONLY to replace it.
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Link: https://lore.kernel.org/r/20221008083250.3160-1-leo.yan@linaro.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions