From 1f93ec5c337fdd3c09261c80c0a31d70f37ec269 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 10 Sep 2024 16:51:06 +0200 Subject: [PATCH] xfree86: i2c: use LogMessageVerb() instead of xf86Msg() Both are doing same job, so no need to keep using an duplicated implementation. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- hw/xfree86/i2c/xf86i2c.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/xfree86/i2c/xf86i2c.c b/hw/xfree86/i2c/xf86i2c.c index 3c295b6dd..93d578aae 100644 --- a/hw/xfree86/i2c/xf86i2c.c +++ b/hw/xfree86/i2c/xf86i2c.c @@ -752,9 +752,9 @@ xf86DestroyI2CBusRec(I2CBusPtr b, Bool unalloc, Bool devs_too) } else { if (unalloc) { - xf86Msg(X_ERROR, - "i2c bug: Attempt to remove I2C bus \"%s\", " - "but device list is not empty.\n", b->BusName); + LogMessageVerb(X_ERROR, 1, + "i2c bug: Attempt to remove I2C bus \"%s\", " + "but device list is not empty.\n", b->BusName); return; } }