rust: error: fix the description for `ECHILD`
authorWedson Almeida Filho <walmeida@microsoft.com>
Sat, 30 Sep 2023 14:49:58 +0000 (11:49 -0300)
committerMiguel Ojeda <ojeda@kernel.org>
Thu, 12 Oct 2023 20:58:28 +0000 (22:58 +0200)
commit17bfcd6a81535d7d580ddafb6e54806890aaca6c
treef7ec56ed0478129b354b31b68f0396d2c198ff78
parent8a749fd1a8720d4619c91c8b6e7528c0a355c0aa
rust: error: fix the description for `ECHILD`

A mistake was made and the description of `ECHILD` is wrong (it reuses
the description of `ENOEXEC`). This fixes it to reflect what's in
`errno-base.h`.

Signed-off-by: Wedson Almeida Filho <walmeida@microsoft.com>
Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Reviewed-by: Trevor Gross <tmgross@umich.edu>
Reviewed-by: Finn Behrens <me@kloenk.dev>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Fixes: 266def2a0f5b ("rust: error: add codes from `errno-base.h`")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230930144958.46051-1-wedsonaf@gmail.com
[ Use the plural, as noticed by Benno. ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/error.rs