提交 bfdb1e17 编写于 作者: Z Zihao Yu

monitor,watchpoint: fix format descriptor

上级 e0190fc9
......@@ -73,7 +73,7 @@ void list_watchpoint() {
printf("%8s\t%8s\t%8s\n", "NO", "Address", "Enable");
WP *p;
for (p = head; p != NULL; p = p->next) {
printf("%8d\t%s\t%#08x\n", p->NO, p->expr, p->old_val);
printf("%8d\t%s\t" FMT_WORD "\n", p->NO, p->expr, p->old_val);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册