printk: Fix pr_emerg to use log_emer

The pr_emerg macro was calling log_emerg which doesn't exist. The
correct function name is log_emer, matching the LOGL_EMERG log level.

Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
Simon Glass
2025-12-21 06:39:43 -07:00
parent 2e36fa45ef
commit 3b51642751

View File

@@ -35,7 +35,7 @@
#define pr_emerg(fmt, ...) \
({ \
CONFIG_LOGLEVEL > 0 ? log_emerg(fmt, ##__VA_ARGS__) : 0; \
CONFIG_LOGLEVEL > 0 ? log_emer(fmt, ##__VA_ARGS__) : 0; \
})
#define pr_alert(fmt, ...) \
({ \