From 0012eaf68efce61722400ca9d7320ecbe398c044 Mon Sep 17 00:00:00 2001 From: Juergen Christ Date: Tue, 15 Mar 2022 11:19:46 +0100 Subject: [PATCH] zcryptctl: Fix some typos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix typos in usage and error messages. Signed-off-by: Juergen Christ Signed-off-by: Jan Höppner --- zconf/zcrypt/zcryptctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zconf/zcrypt/zcryptctl.c b/zconf/zcrypt/zcryptctl.c index a6189f50..7166c1fe 100644 --- a/zconf/zcrypt/zcryptctl.c +++ b/zconf/zcrypt/zcryptctl.c @@ -754,7 +754,7 @@ static int cmd_config(int cmd _UNUSED_, break; if (!_match_string(&p, buf)) errx(EXIT_FAILURE, - "Missing argument(s) for aps=... at '%-8.8s...' in line %d '%s'", + "Missing argument(s) for doms=... at '%-8.8s...' in line %d '%s'", p, nr, line); cmd_add_del_dom(CMD_ADD_DOM, node, buf); while (isblank(*p) || *p == ',') @@ -892,7 +892,7 @@ static struct zcryptctl_cmds_s { .cmd = CMD_DEL_DOM, .command = "deldom", .function = cmd_add_del_dom, - .usage = "zcryptctl deldom ", + .usage = "zcryptctl deldom ", .description = "Update the filter for the specified zcrypt device node and\n" "remove a crypto domain from the allowed domains list. The\n"