[PATCH] examples/skeleton: fix typo in initialization comment

Yang Xiaoliang <[email protected]>
Newsgroups org.dpdk.dev
Message-ID <[email protected]>
Fix "Initializion" typo, should be "Initialization".

The sample app guide includes the comment via literalinclude with :start-after: anchored on the same string, so update both files together to keep the snippet extraction working.

Signed-off-by: Yang Xiaoliang <[email protected]>
---
 doc/guides/sample_app_ug/skeleton.rst | 2 +-
 examples/skeleton/basicfwd.c          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/guides/sample_app_ug/skeleton.rst b/doc/guides/sample_app_ug/skeleton.rst
index c4a29033fe..8a436b1182 100644
--- a/doc/guides/sample_app_ug/skeleton.rst
+++ b/doc/guides/sample_app_ug/skeleton.rst
@@ -55,7 +55,7 @@ function. The value returned is the number of parsed arguments:
 
 .. literalinclude:: ../../../examples/skeleton/basicfwd.c
     :language: c
-    :start-after: Initializion the Environment Abstraction Layer (EAL). 8<
+    :start-after: Initialization the Environment Abstraction Layer (EAL). 8<
     :end-before: >8 End of initialization the Environment Abstraction Layer (EAL).
     :dedent: 1
 
diff --git a/examples/skeleton/basicfwd.c b/examples/skeleton/basicfwd.c
index e8c18d5b87..3fdb83519f 100644
--- a/examples/skeleton/basicfwd.c
+++ b/examples/skeleton/basicfwd.c
@@ -176,7 +176,7 @@ main(int argc, char *argv[])
 	unsigned nb_ports;
 	uint16_t portid;
 
-	/* Initializion the Environment Abstraction Layer (EAL). 8< */
+	/* Initialization the Environment Abstraction Layer (EAL). 8< */
 	int ret = rte_eal_init(argc, argv);
 	if (ret < 0)
 		rte_exit(EXIT_FAILURE, "Error with EAL initialization\n");
-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.