git: DragonFly_RELEASE_2_10 kernel/ddb: Fix examine's z format (for signed hex).
swildner at crater.dragonflybsd.org
Wed May 4 18:23:46 PDT 2011
Author: Sascha Wildner <saw at 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
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.
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(-)
DragonFly BSD source repository
More information about the Commits