Network procfs: procfs/net_procfs_route.c building error occur if CONFIG_NET_ROUTE is enabled. Fix suggested by Aleksandr Kazantsev

This commit is contained in:
Gregory Nutt 2017-08-22 10:21:07 -06:00
parent a099506b1b
commit 9a8c4121e5

View File

@ -791,8 +791,8 @@ if (strcmp(relpath, g_route_ipv6_path) == 0)
{
buf->st_mode = S_IFREG | S_IROTH | S_IRGRP | S_IRUSR;
}
#endif
else
#endif
{
return -ENOENT;
}