]> granicus.if.org Git - sysstat/commitdiff
Various cosmetic changes
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 7 Jan 2018 10:55:40 +0000 (11:55 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 7 Jan 2018 10:55:40 +0000 (11:55 +0100)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
sadc.c
sadf.c
sadf_misc.c

diff --git a/sadc.c b/sadc.c
index edc70859b4e79b820ce3cf5235de7dcea81f3cc0..b98f61be0699af7ed256c653d9cf8e3e56a31002 100644 (file)
--- a/sadc.c
+++ b/sadc.c
@@ -1024,7 +1024,6 @@ void rw_sa_stat_loop(long count, int stdfd, int ofd, char ofile[],
 
        /* Main loop */
        do {
-
                /* Init all structures */
                reset_stats();
 
diff --git a/sadf.c b/sadf.c
index 6f3ae03213af5c21f5c7564ee0a5d024680d9a9e..09beab2e92c2087097c8bd8109eb45fbe59b55ed 100644 (file)
--- a/sadf.c
+++ b/sadf.c
@@ -204,8 +204,8 @@ void check_format_options(void)
  * @curr       Index in array for current sample statistics.
  * @file       System activity data file name (name of file being read).
  * @tab                Number of tabulations to print.
- * @file_actlst        List of (known or unknown) activities in file.
  * @file_magic System activity file magic header.
+ * @file_actlst        List of (known or unknown) activities in file.
  * @rectime    Structure where timestamp (expressed in local time or in UTC
  *             depending on whether options -T/-t have been used or not) can
  *             be saved for current record.
@@ -304,7 +304,7 @@ int read_next_sample(int ifd, int action, int curr, char *file, int *rtype, int
  * Display the field list (used eg. in database format).
  *
  * IN:
- * @act_     Activity to display, or ~0 for all.
+ * @act_id     Activity to display, or ~0 for all.
  ***************************************************************************
  */
 void list_fields(unsigned int act_id)
@@ -397,7 +397,7 @@ time_t get_time_ref(void)
  * Save or restore position in file.
  *
  * IN:
- * @ifd                        File descriptor of input file.
+ * @ifd                File descriptor of input file.
  * @action     DO_SAVE to save position or DO_RESTORE to restore it.
  ***************************************************************************
  */
index 5f837eeb059c3efe2ee5faf809f9a815b1ecd41d..9d6b106ffd62e3dda058155ded5a02c3b5e9bf61 100644 (file)
@@ -117,7 +117,7 @@ __printf_funct_t print_ppc_restart(int *tab, int action, char *cur_date,
  * @cur_date   Date string of current restart message.
  * @cur_time   Time string of current restart message.
  * @utc                True if @cur_time is expressed in UTC.
- * @file_hdr   System activity file standard header (unused here).
+ * @file_hdr   System activity file standard header.
  *
  * OUT:
  * @tab                Number of tabulations.
@@ -149,7 +149,7 @@ __printf_funct_t print_xml_restart(int *tab, int action, char *cur_date,
  * @cur_date   Date string of current restart message.
  * @cur_time   Time string of current restart message.
  * @utc                True if @cur_time is expressed in UTC.
- * @file_hdr   System activity file standard header (unused here).
+ * @file_hdr   System activity file standard header.
  *
  * OUT:
  * @tab                Number of tabulations.
@@ -194,7 +194,7 @@ __printf_funct_t print_json_restart(int *tab, int action, char *cur_date,
  * @cur_date   Date string of current restart message.
  * @cur_time   Time string of current restart message.
  * @utc                True if @cur_time is expressed in UTC.
- * @file_hdr   System activity file standard header (unused here).
+ * @file_hdr   System activity file standard header.
  ***************************************************************************
  */
 __printf_funct_t print_raw_restart(int *tab, int action, char *cur_date,