net/route: Fix a couple of compile-related issues that have crept in sense the last time the file-based routing table was used.

This commit is contained in:
Gregory Nutt
2018-01-05 08:57:22 -06:00
parent fb73006a4b
commit 376e30dab4
6 changed files with 13 additions and 16 deletions
+1 -1
View File
@@ -325,7 +325,7 @@ int net_delroute_ipv4(in_addr_t target, in_addr_t netmask)
ret = file_truncate(&fshandle, filesize);
errout_with_fshandle:
(void)net_closeroute_ipv4(&fshandle)S;
(void)net_closeroute_ipv4(&fshandle);
errout_with_lock:
(void)net_unlockroute_ipv4();