diff options
author | Stephen Kitt <[email protected]> | 2019-06-13 18:25:48 +0200 |
---|---|---|
committer | Jonathan Corbet <[email protected]> | 2019-06-20 14:08:49 -0600 |
commit | 220ee02a0b38726a90430e94714c87550dc3d476 (patch) | |
tree | d757901fe1d8644d050a3c8afda801b8f75795d9 /net/lapb/lapb_timer.c | |
parent | 4ae5b8f2140d18788979153370c83cf925092b5c (diff) |
docs: stop suggesting strlcpy
Since strlcpy is deprecated, the documentation shouldn't suggest using
it. This patch fixes the examples to use strscpy instead. It also uses
sizeof instead of underlying constants as far as possible, to simplify
future changes to the corresponding data structures.
Signed-off-by: Stephen Kitt <[email protected]>
Acked-by: Kees Cook <[email protected]>
Acked-by: Federico Vaga <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions