aboutsummaryrefslogtreecommitdiff
path: root/networking/tc.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/tc.c')
-rw-r--r--networking/tc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/networking/tc.c b/networking/tc.c
index 3115a5254..dbdba3317 100644
--- a/networking/tc.c
+++ b/networking/tc.c
@@ -191,8 +191,8 @@ static int cbq_print_opt(struct rtattr *opt)
191 struct tc_cbq_wrropt *wrr = NULL; 191 struct tc_cbq_wrropt *wrr = NULL;
192 struct tc_cbq_fopt *fopt = NULL; 192 struct tc_cbq_fopt *fopt = NULL;
193 struct tc_cbq_ovl *ovl = NULL; 193 struct tc_cbq_ovl *ovl = NULL;
194 const char * const error = "CBQ: too short %s opt"; 194 const char *const error = "CBQ: too short %s opt";
195 RESERVE_CONFIG_BUFFER(buf, 64); 195 char buf[64];
196 196
197 if (opt == NULL) 197 if (opt == NULL)
198 goto done; 198 goto done;
@@ -272,7 +272,6 @@ static int cbq_print_opt(struct rtattr *opt)
272 } 272 }
273 } 273 }
274 done: 274 done:
275 RELEASE_CONFIG_BUFFER(buf);
276 return 0; 275 return 0;
277} 276}
278 277