From 37c5956dd5b547decf0e0d15b8d9ffb49d6634c0 Mon Sep 17 00:00:00 2001
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Date: Sun, 11 Sep 2022 04:39:20 +0900
Subject: [PATCH] Add missing newlines in xf86DrvMsg() messages.
---
src/wsfb_driver.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/wsfb_driver.c b/src/wsfb_driver.c
index a0078fb..6661100 100644
--- a/src/wsfb_driver.c
+++ b/src/wsfb_driver.c
@@ -544,7 +544,7 @@ WsfbPreInit(ScrnInfoPtr pScrn, int flags)
if (xf86ReturnOptValBool(fPtr->Options,
OPTION_SHADOW_FB, FALSE)) {
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
- "Shadow FB option ignored on depth < 8");
+ "Shadow FB option ignored on depth < 8\n");
}
/* Rotation */
@@ -576,7 +576,7 @@ WsfbPreInit(ScrnInfoPtr pScrn, int flags)
}
} else {
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
- "Option \"Rotate\" ignored on depth < 8");
+ "Option \"Rotate\" ignored on depth < 8\n");
}
}
@@ -806,7 +806,7 @@ WsfbScreenInit(SCREEN_INIT_ARGS_DECL)
break;
default:
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
- "Unsupported bpp: %d", pScrn->bitsPerPixel);
+ "Unsupported bpp: %d\n", pScrn->bitsPerPixel);
return FALSE;
} /* case */
@@ -831,7 +831,7 @@ WsfbScreenInit(SCREEN_INIT_ARGS_DECL)
if (pScrn->bitsPerPixel >= 8) {
if (!fbPictureInit(pScreen, NULL, 0))
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
- "RENDER extension initialisation failed.");
+ "RENDER extension initialisation failed.\n");
}
if (fPtr->shadowFB && !WsfbShadowInit(pScreen)) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
--
2.36.1