]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal/cat.c
codespell: fix spelling errors
[thirdparty/systemd.git] / src / journal / cat.c
index 9900bd2e863fa73ad607e52abbaa974b0cc7e1be..d8d72690d7278f5fed66ccef04a63c727556b45f 100644 (file)
@@ -146,7 +146,7 @@ static int run(int argc, char *argv[]) {
 
         saved_stderr = fcntl(STDERR_FILENO, F_DUPFD_CLOEXEC, 3);
 
-        r = rearrange_stdio(STDIN_FILENO, outfd, errfd < 0 ? outfd : errfd); /* Invalidates fd on succcess + error! */
+        r = rearrange_stdio(STDIN_FILENO, outfd, errfd < 0 ? outfd : errfd); /* Invalidates fd on success + error! */
         TAKE_FD(outfd);
         TAKE_FD(errfd);
         if (r < 0)