git: kernel/ddb: Fix examine's z format (for signed hex).

看板DFBSD_commit作者時間14年前 (2011/05/17 07:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit e4dbb174c0b778373e296feae63547be6671c01a Author: Sascha Wildner <saw@online.de> Date: Thu May 5 03:17:57 2011 +0200 kernel/ddb: Fix examine's z format (for signed hex). This was previously attempted to be printed with a special %z conversion specifier of kprintf(). But our kprintf() doesn't support this specifier. Either support for it got lost along the way or we never had it, I didn't check. Since we want to get rid of non-standard conversion specifiers (because they require compiler modification for silencing format warnings), use a db_format_hex() function that does the same as %z was supposed to do. Taken-from: NetBSD Summary of changes: sys/ddb/db_examine.c | 14 ++++++++++---- sys/ddb/db_output.c | 18 +++++++++++++++++- sys/ddb/db_output.h | 2 +- 3 files changed, 28 insertions(+), 6 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e4dbb174c0b778373e296feae63547be6671c01a -- DragonFly BSD source repository
文章代碼(AID): #1DqRG-4E (DFBSD_commit)