summaryrefslogtreecommitdiff
path: root/sys/arch/arm64
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2023-03-19 16:43:45 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2023-03-19 16:43:45 +0000
commit51864c134f3693dc4f3452f452bb8c5845c20c2f (patch)
tree2d268637149ef073ab1d6c1baeb53b5461f955c3 /sys/arch/arm64
parent7e0cb282dceb92858e880a271b66b59d4eb2a061 (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