Description: Fix typos detected in manpage (lintian)
Author: Nick Morrott <nickm@debian.org>
Forwarded: https://github.com/openSUSE/Mojo-IOLoop-ReadWriteProcess/pull/47
Last-Update: 2022-02-22
---
--- a/README.md
+++ b/README.md
@@ -266,7 +266,7 @@
 
 ## kill\_sleeptime
 
-Defaults to `1`, it's the seconds to wait before attempting SIGKILL when blocking\_stop is setted to 1.
+Defaults to `1`, it's the seconds to wait before attempting SIGKILL when blocking\_stop is set to 1.
 
 ## separate\_err
 
@@ -361,7 +361,7 @@
     my $p = process()->enable_subreaper;
 
 Mark the current process (not the child) as subreaper.
-This is used typically if you want to mark further childs as subreapers inside other forks.
+This is used typically if you want to mark further children as subreapers inside other forks.
 
     my $master_p = process(
       sub {
--- a/lib/Mojo/IOLoop/ReadWriteProcess.pm
+++ b/lib/Mojo/IOLoop/ReadWriteProcess.pm
@@ -902,7 +902,7 @@
 
 =head2 kill_sleeptime
 
-Defaults to C<1>, it's the seconds to wait before attempting SIGKILL when blocking_stop is setted to 1.
+Defaults to C<1>, it's the seconds to wait before attempting SIGKILL when blocking_stop is set to 1.
 
 =head2 separate_err
 
@@ -998,7 +998,7 @@
     my $p = process()->enable_subreaper;
 
 Mark the current process (not the child) as subreaper.
-This is used typically if you want to mark further childs as subreapers inside other forks.
+This is used typically if you want to mark further children as subreapers inside other forks.
 
     my $master_p = process(
       sub {
--- a/lib/Mojo/IOLoop/ReadWriteProcess/Session.pm
+++ b/lib/Mojo/IOLoop/ReadWriteProcess/Session.pm
@@ -361,7 +361,7 @@
     session->enable_subreaper;
 
 Mark the current process (not the child) as subreaper.
-This is used typically if you want to mark further childs as subreapers inside other forks.
+This is used typically if you want to mark further children as subreapers inside other forks.
 
     use Mojo::IOLoop::ReadWriteProcess::Session qw(session);
 
--- a/t/11_containers.t
+++ b/t/11_containers.t
@@ -54,7 +54,7 @@
 
 };
 
-subtest childs => sub {
+subtest children => sub {
   my $cgroup = cgroupv1(controller => 'pids', name => 'group')->child('test');
   isa_ok $cgroup, 'Mojo::IOLoop::ReadWriteProcess::CGroup::v1';
   is $cgroup->exists(), 1, 'Cgroup exists';
--- a/lib/Mojo/IOLoop/ReadWriteProcess/Container.pm
+++ b/lib/Mojo/IOLoop/ReadWriteProcess/Container.pm
@@ -197,7 +197,7 @@
 
 =head1 DESCRIPTION
 
-L<Mojo::IOLoop::ReadWriteProcess::Container> ties anonymous functions or a L<Mojo::IOLoop::ReadWriteProcess> object to differents
+L<Mojo::IOLoop::ReadWriteProcess::Container> ties anonymous functions or a L<Mojo::IOLoop::ReadWriteProcess> object to different
 sets of L<Mojo::IOLoop::ReadWriteProcess::CGroup> implementations.
 
 When the C<pid_isolation> attribute is set, it needs special permissions (CAP_SYS_ADMIN capabilities).
--- a/lib/Mojo/IOLoop/ReadWriteProcess/Shared/Lock.pm
+++ b/lib/Mojo/IOLoop/ReadWriteProcess/Shared/Lock.pm
@@ -134,7 +134,7 @@
 
     $l->locked; # is 0
 
-Executes a function inside a locked section. Errors are catched so lock is released in case of failures.
+Executes a function inside a locked section. Errors are caught so lock is released in case of failures.
 
 =head1 ATTRIBUTES
 
