git: sbin/hammer: Update blockmap lookup error#

Tomohiro Kusumi tkusumi at
Sat Mar 19 14:27:41 PDT 2016

commit fa6ed04f4117ee37c5f47d38f18f9c428710e49f
Author: Tomohiro Kusumi <kusumi.tomohiro at>
Date:   Sat Mar 19 20:04:41 2016 +0900

    sbin/hammer: Update blockmap lookup error#
    The previous commit has removed -3, so update the existing ones.
    We want to keep different numbers for each for debugging purpose
    for hammer show command. hammer show prints these error codes.
    Note that hammer show on the current production release (4.4)
    doesn't directly print error code, but instead prints a string
    (that doesn't contain the error code digit within char[]).
    hammer show's output format has changed quite a bit in 4.5, and
    directly showing error code is one of them. This commit doesn't
    confuse 4.4 users, in other words it doesn't make hammer show
    print "-3" on what was -4 in 4.4, since 4.4 doesn't print the
    code itself.

Summary of changes:
 sbin/hammer/blockmap.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list