From ce3981f8f488fc1f3aae5f5825764e6560714665 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Mork?= Date: Wed, 24 Aug 2011 12:33:13 +0200 Subject: [PATCH] radmin: fixup error message when attemting to delete non-dynamic client MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit commit b9e5dd2c changed the command syntax in line with docs, but failed to update the error message accordingly. Signed-off-by: Bjørn Mork --- src/main/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/command.c b/src/main/command.c index 8377d21483e..f2d3bc285a1 100644 --- a/src/main/command.c +++ b/src/main/command.c @@ -1818,7 +1818,7 @@ static int command_del_client(rad_listen_t *listener, int argc, char *argv[]) if (!client) return 0; if (!client->dynamic) { - cprintf(listener, "ERROR: Client %s was not dynamically defined.\n", argv[1]); + cprintf(listener, "ERROR: Client %s was not dynamically defined.\n", argv[0]); return 0; } -- 2.47.3