Re: [PATCH] uuidd: constify argument in write_all()

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

 



On Wed, Feb 02, 2011 at 02:04:10PM +0100, Petr Uzel wrote:
> 
> Signed-off-by: Petr Uzel <petr.uzel@xxxxxxx>
> ---
>  misc-utils/uuidd.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/misc-utils/uuidd.c b/misc-utils/uuidd.c
> index 8efa600..af74172 100644
> --- a/misc-utils/uuidd.c
> +++ b/misc-utils/uuidd.c
> @@ -106,7 +106,7 @@ static ssize_t read_all(int fd, char *buf, size_t count)
>  	return c;
>  }
>  
> -static int write_all(int fd, char *buf, size_t count)
> +static int write_all(int fd, const char *buf, size_t count)

 It seems that we can use include/writeall.h here ;-)

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [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