summaryrefslogtreecommitdiff
path: root/lib/route/classid.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/route/classid.c')
-rw-r--r--lib/route/classid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/route/classid.c b/lib/route/classid.c
index e1880af..a128773 100644
--- a/lib/route/classid.c
+++ b/lib/route/classid.c
@@ -154,7 +154,8 @@ char *rtnl_tc_handle2str(uint32_t handle, char *buf, size_t len)
int rtnl_tc_str2handle(const char *str, uint32_t *res)
{
char *colon, *end;
- uint32_t h, err;
+ uint32_t h;
+ int err;
if (!strcasecmp(str, "root")) {
*res = TC_H_ROOT;