Skip to content

Commit 0587e62

Browse files
JiaLong.YangJonathan Corbet
authored andcommitted
Docs/zh_CN: Fix the meaning of DEBUG to pr_debug()
We know the macro DEBUG will make pr_debug() save the formatted string into final binary. But the translation in chinese gives a opposite meaning. Signed-off-by: "JiaLong.Yang" <jialong.yang@shingroup.cn> Reviewed-by: Zenghui Yu <zenghui.yu@linux.dev> Acked-by: Yanteng Si <siyanteng@loongson.cn> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20231221055832.4374-1-jialong.yang@shingroup.cn
1 parent bb67bf1 commit 0587e62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/translations/zh_CN/core-api/printk-basics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ printk()的用法通常是这样的::
100100

101101
为了调试,还有两个有条件编译的宏:
102102
pr_debug()和pr_devel(),除非定义了 ``DEBUG`` (或者在pr_debug()的情况下定义了
103-
``CONFIG_DYNAMIC_DEBUG`` ),否则它们会被编译
103+
``CONFIG_DYNAMIC_DEBUG`` ),否则它们不会被编译
104104

105105

106106
函数接口

0 commit comments

Comments
 (0)