diff options
Diffstat (limited to 'drivers/base/core.c')
-rw-r--r-- | drivers/base/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index cdd01c52c629..5e6e00bc1652 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c | |||
@@ -1912,8 +1912,8 @@ int __dev_printk(const char *level, const struct device *dev, | |||
1912 | "DEVICE=+%s:%s", subsys, dev_name(dev)); | 1912 | "DEVICE=+%s:%s", subsys, dev_name(dev)); |
1913 | } | 1913 | } |
1914 | skip: | 1914 | skip: |
1915 | if (level[3]) | 1915 | if (level[2]) |
1916 | level_extra = &level[3]; /* skip past "<L>" */ | 1916 | level_extra = &level[2]; /* skip past KERN_SOH "L" */ |
1917 | 1917 | ||
1918 | return printk_emit(0, level[1] - '0', | 1918 | return printk_emit(0, level[1] - '0', |
1919 | dictlen ? dict : NULL, dictlen, | 1919 | dictlen ? dict : NULL, dictlen, |