1 Star 0 Fork 9

王歌/procinfo

forked from src-openEuler/procinfo 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
procinfo-18-intrprint.patch 790 Bytes
一键复制 编辑 原始数据 按行查看 历史
Grooooot 提交于 2020-02-19 10:01 . init the package
diff -up procinfo-18/procinfo.c.intrprint procinfo-18/procinfo.c
--- procinfo-18/procinfo.c.intrprint 2010-10-12 13:37:18.000000000 +0200
+++ procinfo-18/procinfo.c 2010-10-12 13:44:25.500001055 +0200
@@ -498,11 +498,11 @@ first_page (long sl)
for (i = 0; i < rows; i++) {
/* The last row may be incomplete if howmany is odd, hence: */
if (i == rows - 1 && howmany & 1) {
- printf ("irq%4d:%10lu %-21s\n",
+ printf ("irq%4d:%10lu %-20s\n",
squirqs[i].nr, squirqs[i].count, squirqs[i].label);
} else {
- printf ("irq%4d:%10lu %-21s "
- "irq%4d:%10lu %-21s\n",
+ printf ("irq%4d:%10lu %-20s "
+ "irq%4d:%10lu %-20s\n",
squirqs[i].nr, squirqs[i].count, squirqs[i].label,
squirqs[i+rows].nr,
squirqs[i+rows].count,
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wang--ge/procinfo.git
git@gitee.com:wang--ge/procinfo.git
wang--ge
procinfo
procinfo
master

搜索帮助