Commit d95d76a
bpf: Replace snprintf("%s") with strscpy
Replace snprintf("%s") with the faster and more direct strscpy().
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://lore.kernel.org/r/20260201215247.677121-2-thorsten.blum@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>1 parent 6b95cc5 commit d95d76a
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
6324 | 6325 | | |
6325 | 6326 | | |
6326 | 6327 | | |
6327 | | - | |
| 6328 | + | |
6328 | 6329 | | |
6329 | 6330 | | |
6330 | 6331 | | |
| |||
6443 | 6444 | | |
6444 | 6445 | | |
6445 | 6446 | | |
6446 | | - | |
| 6447 | + | |
6447 | 6448 | | |
6448 | 6449 | | |
6449 | 6450 | | |
| |||
0 commit comments