summaryrefslogtreecommitdiffstats
path: root/Documentation/fault-injection
diff options
context:
space:
mode:
authorLaurent Gauthier <laurent.gauthier@soccasys.com>2019-01-05 00:08:34 +0100
committerJonathan Corbet <corbet@lwn.net>2019-01-07 23:36:11 +0100
commit2d87948a19ac26bb0307bd2af2a5550e4c3a172d (patch)
treef837f064bfecc6561ae57a397d8e49903bc4d281 /Documentation/fault-injection
parentDocumentation/CodingStyle: Use directory-local variables for emacs settings (diff)
downloadlinux-2d87948a19ac26bb0307bd2af2a5550e4c3a172d.tar.xz
linux-2d87948a19ac26bb0307bd2af2a5550e4c3a172d.zip
doc: fault-injection: fix macro name in example
Signed-off-by: Laurent Gauthier <laurent.gauthier@soccasys.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/fault-injection')
-rw-r--r--Documentation/fault-injection/fault-injection.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/fault-injection/fault-injection.txt b/Documentation/fault-injection/fault-injection.txt
index 4d1b7b4ccfaf..a17517a083c3 100644
--- a/Documentation/fault-injection/fault-injection.txt
+++ b/Documentation/fault-injection/fault-injection.txt
@@ -195,7 +195,7 @@ o #include <linux/fault-inject.h>
o define the fault attributes
- DECLARE_FAULT_INJECTION(name);
+ DECLARE_FAULT_ATTR(name);
Please see the definition of struct fault_attr in fault-inject.h
for details.