[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ipc/mach_port.c compiler warning fix.
From: |
Neal H. Walfield |
Subject: |
Re: [PATCH] ipc/mach_port.c compiler warning fix. |
Date: |
Tue, 04 Nov 2008 15:26:03 +0100 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/22.2 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI) |
Thanks. Can you please supply a GNU change log?
At Tue, 4 Nov 2008 19:06:07 +0530,
Shakthi Kannan wrote:
>
> Fix ipc/mach_port.c compiler warning.
>
> ---
> ipc/mach_port.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/ipc/mach_port.c b/ipc/mach_port.c
> index 63c25dc..0d78714 100644
> --- a/ipc/mach_port.c
> +++ b/ipc/mach_port.c
> @@ -1290,7 +1290,8 @@ mach_port_insert_right(
> if (!IO_VALID((ipc_object_t)poly))
> return KERN_INVALID_CAPABILITY;
>
> - return ipc_object_copyout_name(space, poly, polyPoly, FALSE, name);
> + return ipc_object_copyout_name(space, (ipc_object_t)poly,
^
According to the GNU coding standards, there needs to be a space
between a case and a variable.