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=83c6705c1b6ecc4a7d27e02a9c44667760843d80

commit 83c6705c1b6ecc4a7d27e02a9c44667760843d80
Author: Guillem Jover <[email protected]>
AuthorDate: Sun May 26 13:24:40 2024 +0200

    s-s-d: Fix typos in code comments
    
    Changelog: internal
---
 utils/start-stop-daemon.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils/start-stop-daemon.c b/utils/start-stop-daemon.c
index 5b5cdbb46..5dd90fd48 100644
--- a/utils/start-stop-daemon.c
+++ b/utils/start-stop-daemon.c
@@ -1875,7 +1875,7 @@ pid_is_exec(pid_t pid, const struct stat *esb)
        /* Find and compare string. */
        start_argv_0_p = *pid_argv_p;
 
-       /* Find end of argv[0] then copy and cut of str there. */
+       /* Find end of argv[0] then copy and cut off str there. */
        end_argv_0_p = strchr(*pid_argv_p, ' ');
        if (end_argv_0_p == NULL)
                /* There seems to be no space, so we have the command
@@ -1883,7 +1883,7 @@ pid_is_exec(pid_t pid, const struct stat *esb)
                start_argv_0_p = *pid_argv_p;
        else {
                /* Tests indicate that this never happens, since
-                * kvm_getargv itself cuts of tailing stuff. This is
+                * kvm_getargv itself cuts off tailing stuff. This is
                 * not what the manual page says, however. */
                strncpy(buf, *pid_argv_p, (end_argv_0_p - start_argv_0_p));
                buf[(end_argv_0_p - start_argv_0_p) + 1] = '\0';

-- 
Dpkg.Org's dpkg

Reply via email to