diff options
author | Simon Glass <sjg@chromium.org> | 2018-10-02 05:22:31 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-10-08 08:30:22 -0600 |
commit | fbcf37e48ebb9829c85651378191e33f6ece710e (patch) | |
tree | daef1b64a715fca7ca2de136c91632ce594b42cc /include/log.h | |
parent | a6a45cd32539dcc8d91a8c42d04f378598cfedf6 (diff) | |
download | u-boot-fbcf37e48ebb9829c85651378191e33f6ece710e.tar.gz |
log: Correct definition of log_msg_ret()
This macro should have two parameters, not one. Fix it so that it
correctly resolves to _ret when logging is disabled.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/log.h')
-rw-r--r-- | include/log.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/log.h b/include/log.h index 653fb8d853..75ff1e1160 100644 --- a/include/log.h +++ b/include/log.h @@ -175,7 +175,7 @@ void __assert_fail(const char *assertion, const char *file, unsigned int line, }) #else #define log_ret(_ret) (_ret) -#define log_msg_ret(_ret) (_ret) +#define log_msg_ret(_msg, _ret) (_ret) #endif /** |