diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2023-03-19 16:43:45 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2023-03-19 16:43:45 +0000 |
commit | 51864c134f3693dc4f3452f452bb8c5845c20c2f (patch) | |
tree | 2d268637149ef073ab1d6c1baeb53b5461f955c3 /sys/arch/arm64 | |
parent | 7e0cb282dceb92858e880a271b66b59d4eb2a061 (diff) |
mda_expand_format: simplify token name extraction for %{name}
It is simpler to compute the length based on the start and end
pointers and pass that value to memcpy(), adding an explicit NUL
terminator after copying. OK op@
Diffstat (limited to 'sys/arch/arm64')
0 files changed, 0 insertions, 0 deletions