From my understanding of the english language "gather" imples there are
multiple things to gather. But here there's only one, hence use
"acquire"
return 0;
}
-static int gather_pid_mount_tree_fd(const Context *context, int *ret_fd) {
+static int acquire_pid_mount_tree_fd(const Context *context, int *ret_fd) {
/* Don't bother preparing environment if we can't pass it to libdwfl. */
#if !HAVE_DWFL_SET_SYSROOT
*ret_fd = -EOPNOTSUPP;
if (r >= 0)
return 0;
- r = gather_pid_mount_tree_fd(&context, &context.mount_tree_fd);
+ r = acquire_pid_mount_tree_fd(&context, &context.mount_tree_fd);
if (r < 0)
log_warning_errno(r, "Failed to access the mount tree of a container, ignoring: %m");
}