git: sbin/hammer: Fix newly added crc prefix character by 4c09d9c4
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Sat Apr 15 13:33:05 PDT 2017
commit 6c1845d8d03b230cfb718fd6da4784fc67a12c03
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Sat Apr 15 16:10:33 2017 +0300
sbin/hammer: Fix newly added crc prefix character by 4c09d9c4
4c09d9c4 made hammer show command function get_leaf_crc() use
1. "ocrc=" for old CRC
2. "icrc=" for version 7 CRC
3. "crc=" for others (i.e. bad CRC)
for inodes, but this isn't the same with get_buf_crc() for other records.
4c09d9c4 made get_buf_crc() use
1. "ocrc=" for old CRC
2. "icrc=" for others (i.e. version 7 CRC and bad CRC)
These two functions need to use the same CRC prefix character.
Add "crc=" case to get_buf_crc().
Summary of changes:
sbin/hammer/cmd_show.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6c1845d8d03b230cfb718fd6da4784fc67a12c03
--
DragonFly BSD source repository
More information about the Commits
mailing list