From nobody Fri Jun 2 02:33:42 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QXRrk60XHz4ZMyn; Fri, 2 Jun 2023 02:33:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QXRrk5HqYz3PPQ; Fri, 2 Jun 2023 02:33:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685673222; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=De8zCqB7MoWZaQ88+jqYCujcu7VJ8ab/ihJ4377ErSw=; b=AuhpWxdXeM+YV+WtgxiEpjZ9Oab/sglV9XbPvdH9DeB+8leCjBTIUXuRkEt6ROadzM6Hrd zgYnLFRH1L6WdsF9LAlmsEipyr11swJuyjBOfdaqgEB8UcGEN3TEsRQBF0tu0wVcEsnoHa cggchDBtKYJBjxnzgGMo20UBi/D5bXJ5pJkcyjHJT7S7ATUKtucg/x7A/dbkAhHkxVSbrn HxdD8M6+Vy0RV0VvRzbxZmQ1B6hLPZstNkiWKuu9BklyFgYrQ0azrWYMQuhZvGIZR22h2u kEMZcAwPxKLJQ/QNEHmzultRLRHyMg7ygzWPJKfB01sipiLGIE0mF9WTqDLasQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685673222; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=De8zCqB7MoWZaQ88+jqYCujcu7VJ8ab/ihJ4377ErSw=; b=QO/yB8mSXOomKKgmLD+jjydHxmGpmXAcQ17DQCLlpkbWHdOZB1uJW8hEnx9k3kF9d5VbOZ h+pXG30j+KLdCky3YH/rTpUHFIpVlKJqnSqYCCMJtvRL7FYxvVYR2LVgqfw4AJrCNy+o9L eapRco92NMynIhIT9MR91dO+fhhK9KafyxAUo2yqcD7Nhk1rI4pljyhKBkztT6DYqM9ZJD yuPDx98fLf54se5080+vNzQoWwuNj33AWXr73DDn9UBeLr6W3a5SU335AGWkVe2lFD0/At 8B7kwLkYlxukgX4yrBHP01bXS5JwIbbo5Jc540wREHhgqd0/Uvrkl+ohn6NPFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685673222; a=rsa-sha256; cv=none; b=LmWxXcNhBmRX7q8mSjSV91jjTD7nxwiMCSGmYOkICTqUstyZthYl5JHG/E274znIRl7cVm qoCDQfWv80q199sp120ERuiJVLVd2zgxjxrCEWLE+bV0ME0VKPqn3LCcxCdsxpESDi9T1+ O31pGjL7L7i/vqOTb6WAl019wIedcWidn3xUl/CVI7Ne6xOjR6q9kU7UKR4Nl1utEf8Bmb NmLq4/W6YvAq/wHtiW5tsuP0yG7P52dmEd1PTo8QQU7EiQWtCCWLU7K0RbLso6HVDn461o yF9W3xekBfp+To/pjrMg3JVBU3LcKbzFy20X5AQg43hvKM5uLKmbwnxZDNZ5Ng== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QXRrk4MQhzhWv; Fri, 2 Jun 2023 02:33:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3522XgYT005109; Fri, 2 Jun 2023 02:33:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3522XgBT005108; Fri, 2 Jun 2023 02:33:42 GMT (envelope-from git) Date: Fri, 2 Jun 2023 02:33:42 GMT Message-Id: <202306020233.3522XgBT005108@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 0939cf32c0c1 - main - ipf/libipf: Fix typos List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0939cf32c0c180ac0e1974959da6962d16b96c7a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=0939cf32c0c180ac0e1974959da6962d16b96c7a commit 0939cf32c0c180ac0e1974959da6962d16b96c7a Author: Elyes Haouas AuthorDate: 2023-06-01 23:41:30 +0000 Commit: Warner Losh CommitDate: 2023-06-02 02:33:38 +0000 ipf/libipf: Fix typos Signed-off-by: Elyes Haouas Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/653 --- sbin/ipf/libipf/connecttcp.c | 2 +- sbin/ipf/libipf/interror.c | 12 ++++++------ sbin/ipf/libipf/load_http.c | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sbin/ipf/libipf/connecttcp.c b/sbin/ipf/libipf/connecttcp.c index 5e0d86c1d098..7ab9d3430f58 100644 --- a/sbin/ipf/libipf/connecttcp.c +++ b/sbin/ipf/libipf/connecttcp.c @@ -10,7 +10,7 @@ #include /* - * Format expected is one addres per line, at the start of each line. + * Format expected is one address per line, at the start of each line. */ int connecttcp(char *server, int port) diff --git a/sbin/ipf/libipf/interror.c b/sbin/ipf/libipf/interror.c index 994fb9d2b320..f59f4f633070 100644 --- a/sbin/ipf/libipf/interror.c +++ b/sbin/ipf/libipf/interror.c @@ -70,7 +70,7 @@ static ipf_error_entry_t ipf_errors[IPF_NUM_ERRORS] = { { 42, "ipfilter not enabled for NAT ioctl" }, { 43, "ipfilter not enabled for state ioctl" }, { 44, "ipfilter not enabled for auth ioctl" }, - { 45, "ipfilter not enbaled for sync ioctl" }, + { 45, "ipfilter not enabled for sync ioctl" }, { 46, "ipfilter not enabled for scan ioctl" }, { 47, "ipfilter not enabled for lookup ioctl" }, { 48, "unrecognised device minor number for ioctl" }, @@ -206,7 +206,7 @@ static ipf_error_entry_t ipf_errors[IPF_NUM_ERRORS] = { { 30002, "could not malloc memory for new hash table" }, { 30003, "error coping in hash table structure" }, { 30004, "hash table already exists" }, - { 30005, "mismach between new hash table and operation unit" }, + { 30005, "mismatch between new hash table and operation unit" }, { 30006, "could not malloc memory for hash table base" }, { 30007, "could not find hash table" }, { 30008, "mismatch between hash table and operation unit" }, @@ -229,7 +229,7 @@ static ipf_error_entry_t ipf_errors[IPF_NUM_ERRORS] = { { 30025, "hash table size must be at least 1"}, { 30026, "cannot allocate memory for hash table context" }, /* -------------------------------------------------------------------------- */ - { 40001, "invalid minor device numebr for log read" }, + { 40001, "invalid minor device number for log read" }, { 40002, "read size too small" }, { 40003, "interrupted waiting for log data to read" }, { 40004, "interrupted waiting for log data to read" }, @@ -276,7 +276,7 @@ static ipf_error_entry_t ipf_errors[IPF_NUM_ERRORS] = { { 50038, "invalid unit for lookup iterator" }, { 50039, "invalid unit for lookup iterator" }, { 50040, "could not find token for lookup iterator" }, - { 50041, "unrecognised object type for lookup interator" }, + { 50041, "unrecognised object type for lookup iterator" }, { 50042, "error copying in lookup delete node operation" }, /* -------------------------------------------------------------------------- */ { 60001, "insufficient privilege for NAT write operation" }, @@ -333,7 +333,7 @@ log" }, { 60051, "iterator error copying out NAT entry data" }, { 60052, "iterator data supplied with NULL pointer" }, { 60053, "unknown NAT iterator type" }, - { 60054, "unknwon next address type" }, + { 60054, "unknown next address type" }, { 60055, "iterator suppled with unknown type for get-next" }, { 60056, "unknown lookup group for next address" }, { 60057, "error copying out NAT log flush results" }, @@ -419,7 +419,7 @@ log" }, { 100006, "" }, { 100007, "" }, { 100008, "need write permissions to flush state log" }, - { 100009, "erorr copyout results of flushing state log" }, + { 100009, "error copyout results of flushing state log" }, { 100010, "need write permissions to turn state logging on/off" }, { 100011, "error copying in new state logging state" }, { 100012, "error copying out current state logging state" }, diff --git a/sbin/ipf/libipf/load_http.c b/sbin/ipf/libipf/load_http.c index 738a6f8006f9..9b416bde003c 100644 --- a/sbin/ipf/libipf/load_http.c +++ b/sbin/ipf/libipf/load_http.c @@ -25,7 +25,7 @@ #define LOAD_BUFSIZE (MAX_URL_LEN * 2 + 128) /* - * Format expected is one addres per line, at the start of each line. + * Format expected is one address per line, at the start of each line. */ alist_t * load_http(char *url)