Commit 782ce431 authored by Konstantin Runov's avatar Konstantin Runov Committed by Kees Cook

gcc-plugins: latent_entropy: Fix typo (args -> argc) in plugin description

Fix the typo in the plugin description comment. Clearly, "argc" should
be used.
Signed-off-by: default avatarKonstantin Runov <runebone1@gmail.com>
Link: https://lore.kernel.org/r/20231030094508.245432-1-runebone1@gmail.comSigned-off-by: default avatarKees Cook <keescook@chromium.org>
parent 1ee60356
......@@ -17,7 +17,7 @@
* if (argc <= 1)
* printf("%s: no command arguments :(\n", *argv);
* else
* printf("%s: %d command arguments!\n", *argv, args - 1);
* printf("%s: %d command arguments!\n", *argv, argc - 1);
* }
*
* after:
......@@ -47,7 +47,7 @@
* // perturb_local_entropy()
* } else {
* local_entropy ^= 3896280633962944730;
* printf("%s: %d command arguments!\n", *argv, args - 1);
* printf("%s: %d command arguments!\n", *argv, argc - 1);
* }
*
* // latent_entropy_execute() 4.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment