]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
rdma: Print supplied device name in case of wrong name
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 27 Dec 2017 07:57:55 +0000 (09:57 +0200)
committerDavid Ahern <dsahern@gmail.com>
Wed, 27 Dec 2017 15:47:35 +0000 (07:47 -0800)
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
rdma/utils.c

index 5c0f021a63003b937df4ac9333065bec01d9d6dd..998a178d0417e810e4be8c5f0c414b846970211f 100644 (file)
@@ -176,7 +176,7 @@ int rd_exec_dev(struct rd *rd, int (*cb)(struct rd *rd))
        } else {
                dev_map = dev_map_lookup(rd, false);
                if (!dev_map) {
-                       pr_err("Wrong device name\n");
+                       pr_err("Wrong device name - %s\n", rd_argv(rd));
                        ret = -ENOENT;
                        goto out;
                }