examples/skeleton: fix typo in initialization comment
PATCH 1/1 examples/skeleton: fix typo in initialization comment
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.
--- doc/guides/sample_app_ug/skeleton.rst | 2 +- examples/skeleton/basicfwd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
doc/guides/sample_app_ug/skeleton.rst +1 -1
@@ -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
examples/skeleton/basicfwd.c +1 -1
@@ -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" );
Signature · 1 line
2.43.0
Quoted 45 lines
-----Original Message-----
From: Yang Xiaoliang <[email protected]>
Sent: Wednesday 12 August 2026 16:26
To: [email protected]
Cc: [email protected]; [email protected]; Yang Xiaoliang <[email protected]>
Subject: [PATCH] examples/skeleton: fix typo in initialization commentFix "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(-)doc/guides/sample_app_ug/skeleton.rst +1
-1@@ -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: 1examples/skeleton/basicfwd.c +1
-2@@ -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" ); --
Quoted 1 line
2.43.0
Even with the fix the phrase is still incorrect, nouns do not take direct object. Should probably be Initializing or Initialization of. Consider using an LLM.