Re: %b with uint64_t?
- In reply to: Bjoern A. Zeeb: "%b with uint64_t?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 01 Feb 2025 16:51:59 UTC
On Sat, Feb 01, 2025 at 01:07:37AM +0000, Bjoern A. Zeeb wrote: > Hi, > > I recently ran into a problem with a uint64_t bitflag to use the %b > print format in the kernel. > > I tried the usual %jb with uintmax_t but clang didn't seem to like that > either. This combination seems to be supported by subr_prf.c. It is likely that just a clang checker does not know about the %jb format. It would require some (more) local patches. Sorry that this is not too helpful. > > Is there a way to make this work? > > /bz > > -- > Bjoern A. Zeeb r15:7