From ff208db7f968198611d9c23be9b8b3e62184673c Mon Sep 17 00:00:00 2001 From: DaRK AnGeL <28630321+masterwishx@users.noreply.github.com> Date: Fri, 11 Oct 2024 17:47:14 +0300 Subject: [PATCH] fix2 debugx Signed-off-by: DaRK AnGeL <28630321+masterwishx@users.noreply.github.com> --- drivers/mge-hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mge-hid.c b/drivers/mge-hid.c index d67cf2a294..259cfe8065 100644 --- a/drivers/mge-hid.c +++ b/drivers/mge-hid.c @@ -714,7 +714,7 @@ static const char *eaton_input_bypass_check_range(double value) NUT_UNUSED_VARIABLE(value); if (bypass_voltage_str == NULL || bypass_low_str == NULL || bypass_high_str == NULL || out_nominal_str == NULL) { - upsdebugx(1, "Failed to get values: %d", __func__); + upsdebugx(1, "Failed to get values: %s", __func__); return NULL; // Handle the error appropriately }