mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
pv 955274 - Print out hex instead of char for non-printable characters.
Merge of master-melb:xfs-cmds:27095a by kenmcd. pv 955274 - Print out hex instead of char for non-printable characters.
This commit is contained in:
@@ -325,8 +325,8 @@ main(
|
||||
statbuf.st_size : (1000000*(dm_off_t)(ch));
|
||||
if (dm_write_invis(sid, hanp, hlen, DM_NO_TOKEN, 0,
|
||||
offset, 1, bufp)==-1){
|
||||
printf("Error invis-writing %s at byte %u million: %s\n",
|
||||
(u_char *)bufp, (unsigned int)ch, ERR_NAME);
|
||||
printf("Error invis-writing 0x%x at byte 0x%x million: %s\n",
|
||||
*(u_char *)bufp, (unsigned int)ch, ERR_NAME);
|
||||
}
|
||||
else if (dm_read_invis(sid, hanp, hlen, DM_NO_TOKEN,
|
||||
offset, 1, bufp)==-1){
|
||||
|
||||
Reference in New Issue
Block a user