summaryrefslogtreecommitdiffstats
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 15:36:11 -0700
commit2d87948a19ac26bb0307bd2af2a5550e4c3a172d (patch)
treef837f064bfecc6561ae57a397d8e49903bc4d281
parent2fec7b33094c1257ddb07b2b8318cfccba235d58 (diff)
downloadlinux-2d87948a19ac26bb0307bd2af2a5550e4c3a172d.tar.bz2
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>
-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.