]> granicus.if.org Git - sysstat/commitdiff
sadf_misc.c: Fix indentation in code
authorSebastien GODARD <sysstat@users.noreply.github.com>
Wed, 15 Feb 2023 17:00:03 +0000 (18:00 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Wed, 15 Feb 2023 17:00:03 +0000 (18:00 +0100)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
sadf_misc.c

index 2f1434842a5c60d825b49cf50592bf8017a0ad54..eb218e04ec392b979c894ac08d400a06b55b3f3f 100644 (file)
@@ -1042,10 +1042,10 @@ __tm_funct_t print_raw_timestamp(void *parm, int action, char *cur_date,
                                 PRINT_LOCAL_TIME(flags) ? my_tz
                                                         : (PRINT_TRUE_TIME(flags) ? file_hdr->sa_tzname
                                                                                   : "UTC"));
-                       }
-                       else {
-                               snprintf(pre, sizeof(pre), "%s", cur_time);
-                       }
+               }
+               else {
+                       snprintf(pre, sizeof(pre), "%s", cur_time);
+               }
                pre[sizeof(pre) - 1] = '\0';
 
                return pre;