]> git.ipfire.org Git - thirdparty/shadow.git/commit
src/usermod.c: Fix const correctness
authorAlejandro Colomar <alx@kernel.org>
Sun, 5 May 2024 22:25:41 +0000 (00:25 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sat, 29 Jun 2024 18:00:18 +0000 (20:00 +0200)
commit1f7c00b8f79c736ae1ec6648fc19d6e11d1bdcc6
tree2b4d7ce96b024b187bd46b432223c5ab22284a22
parent7f3ab84714eeb19904f5c108a722922d0aed6be4
src/usermod.c: Fix const correctness

Now that we use liba2i's const-generic macros, we can (and must) use a
'const char **' endp where the input string is 'const char *'.

Reviewed-by: "Serge E. Hallyn" <serge@hallyn.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/usermod.c