]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/strlcpy.[ch]: Fix return type
authorAlejandro Colomar <alx@kernel.org>
Sat, 2 Sep 2023 12:21:49 +0000 (14:21 +0200)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Wed, 22 Nov 2023 11:55:26 +0000 (12:55 +0100)
commit0f279311550a6f750fe95368c02b6b19778c3c02
treeca948b7979e7fc0a7ffe1a77453545abdbbf5ce0
parent6879f463277df9ad6c4a7b879b40dadb374d79fc
lib/strlcpy.[ch]: Fix return type

To return an error code, we need ssize_t.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/strlcpy.c
lib/strlcpy.h