Re: [PATCH] statfs.2: Fix copy & paste error for __SWORD_TYPE definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Guillem

On Fri, Sep 3, 2010 at 5:25 AM, Guillem Jover <guillem@xxxxxxxxxxx> wrote:
> The statfs structs only make use of __SWORD_TYPE, so the __UWORD_TYPE
> macro is wrong there.

Thanks. Fixed for man-pages 3.26.

Cheers,

Michael


> Signed-off-by: Guillem Jover <guillem@xxxxxxxxxxx>
> ---
>  man2/statfs.2 |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/man2/statfs.2 b/man2/statfs.2
> index ea2f085..e0e5988 100644
> --- a/man2/statfs.2
> +++ b/man2/statfs.2
> @@ -46,7 +46,7 @@ structure defined approximately as follows:
>  .in +4n
>  .nf
>  #if __WORDSIZE == 32           /* System word size */
> -# define __UWORD_TYPE          unsigned int
> +# define __SWORD_TYPE          int
>  #else /* __WORDSIZE == 64 */
>  # define __SWORD_TYPE          long int
>  #endif
> --
> 1.7.1
>
>



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux