[PATCH] Add newline to some LogMessage strings.
Peter Hutterer
peter.hutterer at who-t.net
Sun Apr 19 20:06:49 PDT 2009
On Fri, Apr 17, 2009 at 03:22:57PM +0200, Werner LEMBERG wrote:
>
> diff --git a/glx/glxdri.c b/glx/glxdri.c
> index eeac7fc..5fb75a4 100644
> --- a/glx/glxdri.c
> +++ b/glx/glxdri.c
> @@ -1086,7 +1086,7 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
> if (!DRIGetDeviceInfo(pScreen, &hFB, &junk,
> &framebuffer.size, &framebuffer.stride,
> &framebuffer.dev_priv_size, &framebuffer.dev_priv)) {
> - LogMessage(X_ERROR, "AIGLX error: XF86DRIGetDeviceInfo failed");
> + LogMessage(X_ERROR, "AIGLX error: XF86DRIGetDeviceInfo failed\n");
> goto handle_error;
> }
>
> @@ -1097,7 +1097,7 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
> status = drmMap(fd, hFB, framebuffer.size,
> (drmAddressPtr)&framebuffer.base);
> if (status != 0) {
> - LogMessage(X_ERROR, "AIGLX error: drmMap of framebuffer failed (%s)",
> + LogMessage(X_ERROR, "AIGLX error: drmMap of framebuffer failed (%s)\n",
> strerror(-status));
> goto handle_error;
> }
> @@ -1107,7 +1107,7 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
> */
> status = drmMap(fd, hSAREA, SAREA_MAX, &pSAREA);
> if (status != 0) {
> - LogMessage(X_ERROR, "AIGLX error: drmMap of SAREA failed (%s)",
> + LogMessage(X_ERROR, "AIGLX error: drmMap of SAREA failed (%s)\n",
> strerror(-status));
> goto handle_error;
> }
> @@ -1125,7 +1125,8 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
> screen);
>
> if (screen->driScreen == NULL) {
> - LogMessage(X_ERROR, "AIGLX error: Calling driver entry point failed");
> + LogMessage(X_ERROR,
> + "AIGLX error: Calling driver entry point failed\n");
> goto handle_error;
> }
>
> diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c
> index 328aa7e..44f658f 100644
> --- a/glx/glxdriswrast.c
> +++ b/glx/glxdriswrast.c
> @@ -499,7 +499,8 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
> screen);
>
> if (screen->driScreen == NULL) {
> - LogMessage(X_ERROR, "AIGLX error: Calling driver entry point failed");
> + LogMessage(X_ERROR,
> + "AIGLX error: Calling driver entry point failed\n");
> goto handle_error;
> }
>
> --
> 1.6.0.2
Pushed, thanks for the patch.
Cheers,
Peter
More information about the xorg-devel
mailing list