lkml.org 
[lkml]   [2018]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Documentation: magic-numbers: Fix typo
On Fri, 23 Mar 2018 08:32:31 +0100
Martin Kepplinger <martink@posteo.de> wrote:

> This fixes a little then / them confusion.
>
> Signed-off-by: Martin Kepplinger <martink@posteo.de>
> ---
> Documentation/process/magic-number.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/process/magic-number.rst b/Documentation/process/magic-number.rst
> index c74199f60c6c..00cecf1fcba9 100644
> --- a/Documentation/process/magic-number.rst
> +++ b/Documentation/process/magic-number.rst
> @@ -14,7 +14,7 @@ passing pointers to structures via a void * pointer. The tty code,
> for example, does this frequently to pass driver-specific and line
> discipline-specific structures back and forth.
>
> -The way to use magic numbers is to declare then at the beginning of
> +The way to use magic numbers is to declare them at the beginning of
> the structure, like so::
>
> struct tty_ldisc {

Applied, thanks.

jon

\
 
 \ /
  Last update: 2018-03-26 16:43    [W:0.077 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site