This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=3c708d484f9e137bfbb8c6a237e53e46ef195ea9

commit 3c708d484f9e137bfbb8c6a237e53e46ef195ea9
Author: Guillem Jover <[email protected]>
AuthorDate: Wed Nov 26 02:30:06 2025 +0100

    perl: Fix grammar in warning messages
    
    Fixes: commit 9beeb2914bdcf90f60e731ac92e5a8a75833c37b
    Fixes: commit e1cd4e06dae34f1864f145382295ae6a0c6bde69
    Changelog: silent
---
 scripts/Dpkg/Changelog/Parse.pm | 2 +-
 scripts/Dpkg/IPC.pm             | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/Dpkg/Changelog/Parse.pm b/scripts/Dpkg/Changelog/Parse.pm
index 177dfd8be..4061867e9 100644
--- a/scripts/Dpkg/Changelog/Parse.pm
+++ b/scripts/Dpkg/Changelog/Parse.pm
@@ -142,7 +142,7 @@ sub changelog_parse {
     if (exists $opts{file} && ! exists $opts{filename}) {
         warnings::warnif('deprecated',
             'Dpkg::Changelog::Parse::changelog_parse() option file is 
deprecated, ' .
-            'switch to use filename, or pass file it alongside it');
+            'switch to use filename, or pass file alongside it');
     }
     $opts{filename} //= $opts{file} // 'debian/changelog';
     $opts{label} //= $opts{filename};
diff --git a/scripts/Dpkg/IPC.pm b/scripts/Dpkg/IPC.pm
index aae83afac..ffdedb21b 100644
--- a/scripts/Dpkg/IPC.pm
+++ b/scripts/Dpkg/IPC.pm
@@ -343,7 +343,7 @@ sub spawn {
         if (exists $opts{nocheck} && ! exists $opts{no_check}) {
             warnings::warnif('deprecated',
                 'Dpkg::IPC::spawn() option nocheck is deprecated, ' .
-                'either switch to no_check or pass it alongside it');
+                'either switch to no_check or pass nocheck alongside it');
         }
         wait_child($pid,
             no_check => $opts{no_check} // $opts{nocheck},
@@ -402,7 +402,7 @@ sub wait_child {
     if (exists $opts{nocheck} && ! exists $opts{no_check}) {
         warnings::warnif('deprecated',
             'Dpkg::IPC::wait_child() option nocheck is deprecated, ' .
-            'either switch to no_check or pass it alongside it');
+            'either switch to no_check or pass nocheck alongside it');
     }
     $opts{no_check} //= $opts{nocheck};
     croak 'no PID set, cannot wait end of process' unless $pid;

-- 
Dpkg.Org's dpkg

Reply via email to