Signed-off-by: Martin Wilck <mwilck@xxxxxxxx> --- libmultipath/foreign.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libmultipath/foreign.c b/libmultipath/foreign.c index 2a42df5..5ec2d0b 100644 --- a/libmultipath/foreign.c +++ b/libmultipath/foreign.c @@ -84,7 +84,7 @@ static void free_foreign(struct foreign *fgn) free(fgn); } -void _cleanup_foreign(void) +void cleanup_foreign__(void) { struct foreign *fgn; int i; @@ -103,7 +103,7 @@ void _cleanup_foreign(void) void cleanup_foreign(void) { wrlock_foreigns(); - _cleanup_foreign(); + cleanup_foreign__(); unlock_foreigns(NULL); } @@ -164,7 +164,7 @@ static int _init_foreign(const char *enable) r = -errno; condlog(1, "%s: error scanning foreign multipath libraries: %m", __func__); - _cleanup_foreign(); + cleanup_foreign__(); goto out_free_pre; } -- 2.46.0