diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/iscsictl/iscsictl.c | 4 | ||||
-rw-r--r-- | usr.sbin/npppctl/npppctl.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/iscsictl/iscsictl.c b/usr.sbin/iscsictl/iscsictl.c index c629b4bbfbd..5cb5a34746d 100644 --- a/usr.sbin/iscsictl/iscsictl.c +++ b/usr.sbin/iscsictl/iscsictl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iscsictl.c,v 1.12 2021/04/16 14:39:33 claudio Exp $ */ +/* $OpenBSD: iscsictl.c,v 1.13 2023/02/21 15:45:40 mbuhl Exp $ */ /* * Copyright (c) 2010 Claudio Jeker <claudio@openbsd.org> @@ -343,7 +343,7 @@ show_config(struct ctrlmsghdr *cmh, struct pdu *pdu) if (ic == NULL) return; - printf("Initiator: ISID base %x qalifier %hx\n", + printf("Initiator: ISID base %x qualifier %hx\n", ic->isid_base, ic->isid_qual); break; case CTRL_SESSION_CONFIG: diff --git a/usr.sbin/npppctl/npppctl.c b/usr.sbin/npppctl/npppctl.c index 398304e9080..d873c26cf17 100644 --- a/usr.sbin/npppctl/npppctl.c +++ b/usr.sbin/npppctl/npppctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: npppctl.c,v 1.10 2021/11/15 15:14:24 millert Exp $ */ +/* $OpenBSD: npppctl.c,v 1.11 2023/02/21 15:45:40 mbuhl Exp $ */ /* * Copyright (c) 2012 Internet Initiative Japan Inc. @@ -143,7 +143,7 @@ show_clear_session(struct parse_result *result, FILE *out) u_int ppp_id[NMAX_DISCONNECT]; if (imsg_compose(&ctl_ibuf, IMSG_CTL_WHO, 0, 0, -1, NULL, 0) == -1) - err(EXIT_FAILURE, "failed to componse a message\n"); + err(EXIT_FAILURE, "failed to compose a message\n"); if (imsg_wait_command_completion() < 0) errx(EXIT_FAILURE, "failed to get response"); if (ctl_imsg.hdr.type != IMSG_CTL_OK) |