Skip to content
Commit 55bb7eb6 authored by Joel Granados's avatar Joel Granados
Browse files

sysctl: Replace nr_entries with ctl_table_size in new_links



The number of ctl_table entries (nr_entries) calculation was previously
based on the ctl_table_size and the sentinel element. Since the
sentinels have been removed, we remove the calculation and just use the
ctl_table_size from the ctl_table_header.

Signed-off-by: default avatarJoel Granados <j.granados@samsung.com>
parent d7a76ec8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment