diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-08-05 22:36:40 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-08-07 09:16:45 +0200 |
commit | 5ca61c2f34cdcadb486ad1e186aeb9c7df8c132e (patch) | |
tree | e9643ea7897c4f4eedc2eded8dcc3f85f43b5fca /test | |
parent | a628cb93a775ffad28853c733cf10eceb0a53bbf (diff) | |
download | passt-5ca61c2f34cdcadb486ad1e186aeb9c7df8c132e.tar passt-5ca61c2f34cdcadb486ad1e186aeb9c7df8c132e.tar.gz passt-5ca61c2f34cdcadb486ad1e186aeb9c7df8c132e.tar.bz2 passt-5ca61c2f34cdcadb486ad1e186aeb9c7df8c132e.tar.lz passt-5ca61c2f34cdcadb486ad1e186aeb9c7df8c132e.tar.xz passt-5ca61c2f34cdcadb486ad1e186aeb9c7df8c132e.tar.zst passt-5ca61c2f34cdcadb486ad1e186aeb9c7df8c132e.zip |
nstool: Fix some trivial typos
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/nstool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/nstool.c b/test/nstool.c index 1bdf44e..a6aca98 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) |