From: Jiri Pirko <j...@mellanox.com>

s/net/new/

Fixes: a3c4b484a1ed ("add devlink tool")
Signed-off-by: Jiri Pirko <j...@mellanox.com>
---
 devlink/devlink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devlink/devlink.c b/devlink/devlink.c
index 69c3c5d9dd31..ba02064b848c 100644
--- a/devlink/devlink.c
+++ b/devlink/devlink.c
@@ -2602,7 +2602,7 @@ static const char *cmd_name(uint8_t cmd)
        case DEVLINK_CMD_DEL: return "del";
        case DEVLINK_CMD_PORT_GET: return "get";
        case DEVLINK_CMD_PORT_SET: return "set";
-       case DEVLINK_CMD_PORT_NEW: return "net";
+       case DEVLINK_CMD_PORT_NEW: return "new";
        case DEVLINK_CMD_PORT_DEL: return "del";
        default: return "<unknown cmd>";
        }
-- 
2.14.3

Reply via email to