Documentation: Fix typo in tcm_mod_builder.py
authorMasanari Iida <standby24x7@gmail.com>
Thu, 9 Feb 2012 14:58:28 +0000 (23:58 +0900)
committerJiri Kosina <jkosina@suse.cz>
Fri, 10 Feb 2012 08:52:18 +0000 (09:52 +0100)
Correct spelling "alocate" to "allocate" in
Documentation/target/tcm_mod_builder.py

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/target/tcm_mod_builder.py

index 6e21b8b52638a1f0ab014cd46b532d341ba17619..a78879b01f09ecb93aedff8ead9e619449851d54 100755 (executable)
@@ -775,7 +775,7 @@ def tcm_mod_dump_fabric_ops(proto_ident, fabric_mod_dir_var, fabric_mod_name):
                        buf += "        struct " + fabric_mod_name + "_nacl *nacl;\n\n"
                        buf += "        nacl = kzalloc(sizeof(struct " + fabric_mod_name + "_nacl), GFP_KERNEL);\n"
                        buf += "        if (!nacl) {\n"
-                       buf += "                printk(KERN_ERR \"Unable to alocate struct " + fabric_mod_name + "_nacl\\n\");\n"
+                       buf += "                printk(KERN_ERR \"Unable to allocate struct " + fabric_mod_name + "_nacl\\n\");\n"
                        buf += "                return NULL;\n"
                        buf += "        }\n\n"
                        buf += "        return &nacl->se_node_acl;\n"