diff --git a/net/procfs/net_procfs_route.c b/net/procfs/net_procfs_route.c index 4b056ba8a2..759af72b4d 100644 --- a/net/procfs/net_procfs_route.c +++ b/net/procfs/net_procfs_route.c @@ -787,12 +787,12 @@ static int route_stat(const char *relpath, struct stat *buf) else #endif #ifdef CONFIG_NET_IPv6 -if (strcmp(relpath, g_route_ipv6_path) == 0) + if (strcmp(relpath, g_route_ipv6_path) == 0) { buf->st_mode = S_IFREG | S_IROTH | S_IRGRP | S_IRUSR; } -#endif else +#endif { return -ENOENT; }