Skip to content

Commit 22514b3

Browse files
authored
prostate: Print revocation epoch as decimal
Hex is not helpful, just confusing.
1 parent 2339ee8 commit 22514b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: usr.bin/procstat/procstat_cheri.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ get_revoker_epoch(struct procstat *procstat, struct kinfo_proc *kipp)
147147
return ("na");
148148
default:
149149
snprintf(revoker_epoch_buf, sizeof(revoker_epoch_buf),
150-
"%#jx", (uintmax_t)epoch);
150+
"%#ju", (uintmax_t)epoch);
151151
return (revoker_epoch_buf);
152152
}
153153
} else {

0 commit comments

Comments
 (0)