]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/tcbfuncs.c: shadowtcb_path_rel(): Centralize error handling
authorAlejandro Colomar <alx@kernel.org>
Sat, 4 Jan 2025 01:14:16 +0000 (02:14 +0100)
committerSerge Hallyn <serge@hallyn.com>
Wed, 4 Jun 2025 04:25:02 +0000 (23:25 -0500)
commitb9323a0ae33a42a67a42ad95de4ba3365cff6a66
treedc7394c8b41ef0886bfad5920d7c2ffcbdb318c2
parent638c31c352cb662375c38eacc082e7cfa9d8cc74
lib/tcbfuncs.c: shadowtcb_path_rel(): Centralize error handling

All these 3 branches have a compatible return value, which we can check
at once after the branches.

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