技術英語 > In oom_kill_process(), the variable 'points' is unsigned int. Print it [as such].
In oom_kill_process(), the variable 'points' is unsigned int. Print it as such.
-
pr_err("%s: Kill process %d (%s) score %d or sacrifice child\n",
+
pr_err("%s: Kill process %d (%s) score %u or sacrifice child\n",
message, task_pid_nr(p), p->comm, points);
unsigend intの書式指定子を%dとしていたのを%uに修正している。
上の例文では「points変数は unsigned int だから、そのように(意訳:その書式で)Printせよ」。
as such は that way に置き換えても同じだろうか?
Author And Source
この問題について(技術英語 > In oom_kill_process(), the variable 'points' is unsigned int. Print it [as such].), 我々は、より多くの情報をここで見つけました https://qiita.com/7of9/items/c82a57f776e7b20e3f82著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .