From df1f479fc5167d6fa82b127c91a3851c0035fcac Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 23 Jun 2020 03:13:55 +0200 Subject: randomconfig fixes Signed-off-by: Denys Vlasenko --- networking/brctl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'networking') diff --git a/networking/brctl.c b/networking/brctl.c index 68725f93c..2f4ac4a87 100644 --- a/networking/brctl.c +++ b/networking/brctl.c @@ -107,7 +107,7 @@ static unsigned str_to_jiffies(const char *time_str) #define filedata bb_common_bufsiz1 -#if ENABLE_FEATURE_BRCTL_SHOW +#if ENABLE_FEATURE_BRCTL_SHOW || ENABLE_FEATURE_BRCTL_FANCY static int read_file(const char *name) { int n = open_read_close(name, filedata, COMMON_BUFSIZE - 1); @@ -120,7 +120,9 @@ static int read_file(const char *name) } return n; } +#endif +#if ENABLE_FEATURE_BRCTL_SHOW /* NB: we are in /sys/class/net */ static int show_bridge(const char *name, int need_hdr) -- cgit v1.2.3