]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
coredump: indent comment
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 28 Feb 2021 10:58:39 +0000 (11:58 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 1 Mar 2021 12:40:52 +0000 (13:40 +0100)
src/coredump/coredump.c

index ed8d4b8ac65ae215cbca3fb74868e6293d7be071..c727cddba42c0c8935114f8ac205eb4b0129231d 100644 (file)
@@ -354,7 +354,7 @@ static int save_external_coredump(
                                        context->meta[META_ARGV_RLIMIT]);
         if (rlimit < page_size())
                 /* Is coredumping disabled? Then don't bother saving/processing the
-                 * coredump.  Anything below PAGE_SIZE cannot give a readable coredump
+                 * coredump. Anything below PAGE_SIZE cannot give a readable coredump
                  * (the kernel uses ELF_EXEC_PAGESIZE which is not easily accessible, but
                  * is usually the same as PAGE_SIZE. */
                 return log_info_errno(SYNTHETIC_ERRNO(EBADSLT),
@@ -435,10 +435,10 @@ static int save_external_coredump(
                 if (tmp)
                         unlink_noerrno(tmp);
 
-                *ret_filename = TAKE_PTR(fn_compressed);     /* compressed */
-                *ret_node_fd = TAKE_FD(fd_compressed);      /* compressed */
-                *ret_data_fd = TAKE_FD(fd);                 /* uncompressed */
-                *ret_size = (uint64_t) st.st_size; /* uncompressed */
+                *ret_filename = TAKE_PTR(fn_compressed);  /* compressed */
+                *ret_node_fd = TAKE_FD(fd_compressed);    /* compressed */
+                *ret_data_fd = TAKE_FD(fd);               /* uncompressed */
+                *ret_size = (uint64_t) st.st_size;        /* uncompressed */
 
                 return 0;