Messages in this thread |  | | From | Andreas Schwab <> | Subject | Re: printk of non NULL terminated strings ? | Date | Thu, 09 Jul 2020 14:56:47 +0200 |
| |
On Jul 09 2020, Joakim Tjernlund wrote:
> Is there a format (or other function) that lets me > print strings without an \0 terminator using an explicit length arg instead?
Use the precision.
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
|  |