mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
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: Konstantin Runov <runebone1@gmail.com> Link: https://lore.kernel.org/r/20231030094508.245432-1-runebone1@gmail.com Signed-off-by: Kees Cook <keescook@chromium.org>
This commit is contained in:
parent
1ee60356c2
commit
782ce43161
@ -17,7 +17,7 @@
|
|||||||
* if (argc <= 1)
|
* if (argc <= 1)
|
||||||
* printf("%s: no command arguments :(\n", *argv);
|
* printf("%s: no command arguments :(\n", *argv);
|
||||||
* else
|
* else
|
||||||
* printf("%s: %d command arguments!\n", *argv, args - 1);
|
* printf("%s: %d command arguments!\n", *argv, argc - 1);
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* after:
|
* after:
|
||||||
@ -47,7 +47,7 @@
|
|||||||
* // perturb_local_entropy()
|
* // perturb_local_entropy()
|
||||||
* } else {
|
* } else {
|
||||||
* local_entropy ^= 3896280633962944730;
|
* 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.
|
* // latent_entropy_execute() 4.
|
||||||
|
Loading…
Reference in New Issue
Block a user