Am 25.04.2012 11:13, schrieb Alon Levy:
> Signed-off-by: Alon Levy <al...@redhat.com>
> ---
>  hw/qxl.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/qxl.c b/hw/qxl.c
> index 44a4c9b..6e7232c 100644
> --- a/hw/qxl.c
> +++ b/hw/qxl.c
> @@ -1503,7 +1503,7 @@ static void qxl_send_events(PCIQXLDevice *d, uint32_t 
> events)
>          qxl_update_irq(d);
>      } else {
>          if (write(d->pipe[1], d, 1) != 1) {
> -            dprint(d, 1, "%s: write to pipe failed\n", __FUNCTION__);
> +            dprint(d, 1, "%s: write to pipe failed\n", __func__);
>          }
>      }
>  }

If you have some spare time, you could do this all over the code base.
While not wrong in gcc, it invites people to copy from the old examples.

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

Reply via email to