]> git.gsnw.org Git - fping.git/commitdiff
docs: fix simple typo, permanetly -> permanently
authorTim Gates <tim.gates@iress.com>
Wed, 16 Dec 2020 19:12:56 +0000 (06:12 +1100)
committerTim Gates <tim.gates@iress.com>
Wed, 16 Dec 2020 19:12:56 +0000 (06:12 +1100)
There is a small typo in src/fping.c.

Should read `permanently` rather than `permanetly`.

src/fping.c

index c392fae3ae04ea59a1bd95da1d3ec07da6fffe65..a06862e7f68c0b66ea554b2965932645732c2f71 100644 (file)
@@ -832,7 +832,7 @@ int main(int argc, char** argv)
         }
     }
 
-    /* permanetly drop privileges */
+    /* permanently drop privileges */
     if (suid != getuid() && setuid(getuid())) {
        perror("fatal: failed to permanently drop privileges");
        /* continuing would be a security hole */