From nobody Wed Nov 27 07:44:34 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1700121054247987.2038372260304; Wed, 15 Nov 2023 23:50:54 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3X3v-0005vL-IQ; Thu, 16 Nov 2023 02:45:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3X3f-0005oQ-7r; Thu, 16 Nov 2023 02:45:03 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3X3d-0004vw-EU; Thu, 16 Nov 2023 02:45:02 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 45A3E33BE0; Thu, 16 Nov 2023 10:45:03 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id D207735846; Thu, 16 Nov 2023 10:44:41 +0300 (MSK) Received: (nullmailer pid 3202508 invoked by uid 1000); Thu, 16 Nov 2023 07:44:41 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Michael Tokarev , qemu-trivial@nongnu.org Subject: [PULL 07/27] bsd-user: spelling fixes: necesary, agrument, undocummented Date: Thu, 16 Nov 2023 10:44:21 +0300 Message-Id: <20231116074441.3202417-8-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231116074441.3202417-1-mjt@tls.msk.ru> References: <20231116074441.3202417-1-mjt@tls.msk.ru> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZM-MESSAGEID: 1700121055857100002 Content-Type: text/plain; charset="utf-8" Fixes: a99d74034754 "bsd-user: Implement do_obreak function" Fixes: 8632729060bf "bsd-user: Implement freebsd_exec_common, used in imple= menting execve/fexecve." Fixes: bf14f13d8be8 "bsd-user: Implement stat related syscalls" Reviewed-by: Warner Losh Signed-off-by: Michael Tokarev --- bsd-user/bsd-mem.h | 2 +- bsd-user/freebsd/os-proc.c | 2 +- bsd-user/freebsd/os-stat.h | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bsd-user/bsd-mem.h b/bsd-user/bsd-mem.h index c3e72e3b86..21d9bab889 100644 --- a/bsd-user/bsd-mem.h +++ b/bsd-user/bsd-mem.h @@ -235,7 +235,7 @@ static inline abi_long do_obreak(abi_ulong brk_val) return target_brk; } =20 - /* Release heap if necesary */ + /* Release heap if necessary */ if (new_brk < old_brk) { target_munmap(new_brk, old_brk - new_brk); =20 diff --git a/bsd-user/freebsd/os-proc.c b/bsd-user/freebsd/os-proc.c index 4e67ae4d56..e0203e259b 100644 --- a/bsd-user/freebsd/os-proc.c +++ b/bsd-user/freebsd/os-proc.c @@ -115,7 +115,7 @@ abi_long freebsd_exec_common(abi_ulong path_or_fd, abi_= ulong guest_argp, } =20 qarg0 =3D argp =3D g_new0(char *, argc + 9); - /* save the first agrument for the emulator */ + /* save the first argument for the emulator */ *argp++ =3D (char *)getprogname(); qargp =3D argp; *argp++ =3D (char *)getprogname(); diff --git a/bsd-user/freebsd/os-stat.h b/bsd-user/freebsd/os-stat.h index b20e270774..3bdc66aa98 100644 --- a/bsd-user/freebsd/os-stat.h +++ b/bsd-user/freebsd/os-stat.h @@ -146,7 +146,7 @@ static inline abi_long do_freebsd_fstatat(abi_long arg1= , abi_long arg2, return ret; } =20 -/* undocummented nstat(char *path, struct nstat *ub) syscall */ +/* undocumented nstat(char *path, struct nstat *ub) syscall */ static abi_long do_freebsd11_nstat(abi_long arg1, abi_long arg2) { abi_long ret; @@ -162,7 +162,7 @@ static abi_long do_freebsd11_nstat(abi_long arg1, abi_l= ong arg2) return ret; } =20 -/* undocummented nfstat(int fd, struct nstat *sb) syscall */ +/* undocumented nfstat(int fd, struct nstat *sb) syscall */ static abi_long do_freebsd11_nfstat(abi_long arg1, abi_long arg2) { abi_long ret; @@ -175,7 +175,7 @@ static abi_long do_freebsd11_nfstat(abi_long arg1, abi_= long arg2) return ret; } =20 -/* undocummented nlstat(char *path, struct nstat *ub) syscall */ +/* undocumented nlstat(char *path, struct nstat *ub) syscall */ static abi_long do_freebsd11_nlstat(abi_long arg1, abi_long arg2) { abi_long ret; --=20 2.39.2