From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 302B45A031A for ; Mon, 05 Aug 2024 14:37:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1722861425; bh=C6OXzKyIUU/9pvAR2uhcoNw9Ri0G9/yiobrDR9S5POI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ViNmM27YOFK1jhaCbiyaP5N5YsEZer7+KULW2Rll8cZHmb3FBxT+E0qVEG563GpsT 8Y5nzoyBbDMXwLHEOWaHCOI8S4nvAgGDVKuLQ4XvLl6iPdY30/UaTlat7mhYEt2ENX PSV1eRYomjdCEIIFKOCBp2QfpVTx16XC1Z4qCx9SRriwdth7clF48viJyzZCjvQmqR ef9vtpUGd7IcD7ZQvykIrlLQR7GI7CFmnauRjydT2sswYSKggfYQjdPs9HJ53RssE0 uUjX36oguOqv8DBlnrh6jintrSYk0mpwiHHki3chTgwXaHf/YUa6j739/+3NYpcd24 kRkKHbOqMlqlw== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4WcwtT1WYPz4x3J; Mon, 5 Aug 2024 22:37:05 +1000 (AEST) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH v2 01/22] nstool: Fix some trivial typos Date: Mon, 5 Aug 2024 22:36:40 +1000 Message-ID: <20240805123701.1720730-2-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240805123701.1720730-1-david@gibson.dropbear.id.au> References: <20240805123701.1720730-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: Q64FQTO3ZYUWZYF4FERIQVGDWVGEM2F7 X-Message-ID-Hash: Q64FQTO3ZYUWZYF4FERIQVGDWVGEM2F7 X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Cleber Rosa , David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Signed-off-by: David Gibson --- test/nstool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/nstool.c b/test/nstool.c index 1bdf44e8..a6aca981 100644 --- a/test/nstool.c +++ b/test/nstool.c @@ -359,7 +359,7 @@ static void wait_for_child(pid_t pid) if (rc != pid) die("waitpid() on %d returned %d", pid, rc); if (WIFSTOPPED(status)) { - /* Stop the parent to patch */ + /* Stop the parent to match */ kill(getpid(), SIGSTOP); /* We must have resumed, resume the child */ kill(pid, SIGCONT); @@ -508,7 +508,7 @@ static void cmd_exec(int argc, char *argv[]) /* CHILD */ if (argc > optind + 1) { exe = argv[optind + 1]; - xargs = (const char * const*)(argv + optind + 1); + xargs = (const char *const *)(argv + optind + 1); } else { exe = getenv("SHELL"); if (!exe) -- 2.45.2