doc: fault-injection: fix macro name in example
authorLaurent Gauthier <laurent.gauthier@soccasys.com>
Fri, 4 Jan 2019 23:08:34 +0000 (00:08 +0100)
committerJonathan Corbet <corbet@lwn.net>
Mon, 7 Jan 2019 22:36:11 +0000 (15:36 -0700)
Signed-off-by: Laurent Gauthier <laurent.gauthier@soccasys.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/fault-injection/fault-injection.txt

index 4d1b7b4ccfaf0e546362e00ab8cc8c4a0ff2417b..a17517a083c3a2b2ec3c960769c9000bac58e796 100644 (file)
@@ -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.