Skip to content

Commit

Permalink
_lprintk_datetime_arg: cast to correct type
Browse files Browse the repository at this point in the history
  • Loading branch information
moodyhunter committed Oct 27, 2023
1 parent 948c03c commit dd1fc3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/include/private/mos/printk.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ typedef enum

#if MOS_CONFIG(MOS_PRINTK_WITH_DATETIME)
#define _lprintk_datetime_fmt "%s | "
#define _lprintk_datetime_arg , platform_get_datetime_str()
#define _lprintk_datetime_arg , (const char *) platform_get_datetime_str()
#else
#define _lprintk_datetime_fmt ""
#define _lprintk_datetime_arg
Expand Down

0 comments on commit dd1fc3e

Please sign in to comment.