summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMalaya Kumar Rout <mrout@redhat.com>2025-11-24 16:13:58 +0530
committerDaniel Lezcano <daniel.lezcano@linaro.org>2025-11-25 11:00:28 +0100
commit16e802667ed5c97a668b5eb3efb7615cb5f02832 (patch)
treeb9f756ed96c7d18e800138077019690a5f4cc001 /net/unix/af_unix.c
parenta6eb1771022613f01480c87a15a68939f9823671 (diff)
tools/thermal/thermal-engine: Fix format string bug in thermal-engine
The error message in the daemon() failure path uses %p format specifier without providing a corresponding pointer argument, resulting in undefined behavior and printing garbage values. Replace %p with %m to properly print the errno error message, which is the intended behavior when daemon() fails. This fix ensures proper error reporting when daemonization fails. Signed-off-by: Malaya Kumar Rout <mrout@redhat.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://patch.msgid.link/20251124104401.374856-1-mrout@redhat.com
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions