--- src/qxl_surface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qxl_surface.c b/src/qxl_surface.c index 976c339..6414351 100644 --- a/src/qxl_surface.c +++ b/src/qxl_surface.c @@ -635,7 +635,7 @@ qxl_surface_create (surface_cache_t * cache, if ((bpp & 3) != 0) { - ErrorF (" Bad bpp: %d (%d)\n", bpp, bpp & 7); + ErrorF ("%s: Bad bpp: %d (%d)\n", __FUNCTION__, bpp, bpp & 7); return NULL; } @@ -653,13 +653,13 @@ qxl_surface_create (surface_cache_t * cache, if (bpp != 8 && bpp != 16 && bpp != 32 && bpp != 24) { - ErrorF (" Unknown bpp\n"); + ErrorF ("%s: Unknown bpp\n", __FUNCTION__); return NULL; } if (width == 0 || height == 0) { - ErrorF (" Zero width or height\n"); + ErrorF ("%s: Zero width or height\n", __FUNCTION__); return NULL; } -- 1.7.10.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel