net: ip_route_get: Fix error message
We do getopt(), so the next argument is in argv[optind], not in argv[1].

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 64fc4ac commit 8a4cbfb0aaec6f23c576815e467c60f71e1e8e91
@Sascha Hauer Sascha Hauer authored on 4 Jan 2019
Showing 1 changed file
View
commands/ip-route-get.c