]> Git Repo - J-u-boot.git/commitdiff
event: Correct duplicate log message in event_notify()
authorSimon Glass <[email protected]>
Tue, 17 Jan 2023 17:47:31 +0000 (10:47 -0700)
committerTom Rini <[email protected]>
Mon, 23 Jan 2023 23:11:39 +0000 (18:11 -0500)
Use a different one for each call.

Signed-off-by: Simon Glass <[email protected]>
common/event.c

index 231b9e6ffdd27e46e2e16cd96b57664fa45a55a0..c312556490ea4df205c86c023384606303a66d69 100644 (file)
@@ -123,7 +123,7 @@ int event_notify(enum event_t type, void *data, int size)
 
        ret = notify_static(&event);
        if (ret)
-               return log_msg_ret("dyn", ret);
+               return log_msg_ret("sta", ret);
 
        if (CONFIG_IS_ENABLED(EVENT_DYNAMIC)) {
                ret = notify_dynamic(&event);
This page took 0.032805 seconds and 4 git commands to generate.