zcryptctl: Fix some typos

Fix typos in usage and error messages.

Signed-off-by: Juergen Christ <jchrist@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Juergen Christ
2022-03-15 11:19:46 +01:00
committed by Jan Höppner
parent c22d282e67
commit 0012eaf68e

View File

@@ -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 <adapter>",
.usage = "zcryptctl deldom <domain>",
.description =
"Update the filter for the specified zcrypt device node and\n"
"remove a crypto domain from the allowed domains list. The\n"