Projects
home:Eustace:branches:Eulaceura:Factory
kiran-cc-daemon
_service:obs_scm:0009-fix-power-Fix-coredump-wh...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0009-fix-power-Fix-coredump-while-log-print-in-power.patch of Package kiran-cc-daemon
From b66f73004a1803e8de197a036d8a1cd8fd0621e0 Mon Sep 17 00:00:00 2001 From: meizhigang <meizhigang@kylinsec.com.cn> Date: Thu, 21 Mar 2024 20:48:12 +0800 Subject: [PATCH 2/4] fix(power):Fix coredump while log print in power MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复日志输出导致的崩溃 Related #31141 --- plugins/power/event/power-event-button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/power/event/power-event-button.cpp b/plugins/power/event/power-event-button.cpp index 6feef81..8a17c5f 100644 --- a/plugins/power/event/power-event-button.cpp +++ b/plugins/power/event/power-event-button.cpp @@ -111,7 +111,7 @@ void PowerEventButton::emit_button_signal(PowerEvent type) unsigned long elapsed_msec; if (this->button_signal_timer_.elapsed(elapsed_msec) < POWER_BUTTON_DUPLICATE_TIMEOUT) { - KLOG_DEBUG_POWER("Ignoring duplicate button %s", type); + KLOG_DEBUG_POWER("Ignoring duplicate button %d", type); return; } -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2