summaryrefslogtreecommitdiffstats
path: root/commands/ip-route-get.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/ip-route-get.c')
-rw-r--r--commands/ip-route-get.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/ip-route-get.c b/commands/ip-route-get.c
index d393218..7c30469 100644
--- a/commands/ip-route-get.c
+++ b/commands/ip-route-get.c
@@ -42,8 +42,8 @@ static int do_ip_route_get(int argc, char *argv[])
ret = string_to_ip(argv[optind], &ip);
if (ret) {
- printf("Cannot convert %s into a IP address: %s\n",
- argv[1], strerror(-ret));
+ printf("Cannot convert \"%s\" into a IP address: %s\n",
+ argv[optind], strerror(-ret));
return 1;
}