Re: [PATCH 03/24] makedev.3: Fix prototype

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

 



Applied!

Thanks,

Michael


On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> gnu_dev_makedev, and hence its trivial macro wrapper makedev, takes
> two unsigned int parameters; this is consistent with it being the
> inverse of (gnu_dev_)major/minor, which return unsigned int.
> 
> Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx>
> ---
>  man3/makedev.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/makedev.3 b/man3/makedev.3
> index e2038fb..bb63a4d 100644
> --- a/man3/makedev.3
> +++ b/man3/makedev.3
> @@ -31,7 +31,7 @@ makedev, major, minor \- manage a device number
>  .BR "#define _BSD_SOURCE" "             /* See feature_test_macros(7) */"
>  .B #include <sys/types.h>
>  
> -.BI "dev_t makedev(int " maj ", int " min );
> +.BI "dev_t makedev(unsigned int " maj ", unsigned int " min );
>  
>  .BI "unsigned int major(dev_t " dev );
>  .BI "unsigned int minor(dev_t " dev );
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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