Skip to content

Commit

Permalink
sadc: Fix file_header structure composition
Browse files Browse the repository at this point in the history
The new sa_hz member in file_header structure adds one unsigned long
integer to structure's composition.

Signed-off-by: Sebastien GODARD <[email protected]>
  • Loading branch information
sysstat committed Nov 1, 2017
1 parent f12d8aa commit 031bfd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sa.h
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ struct file_header {

#define FILE_HEADER_SIZE (sizeof(struct file_header))
#define FILE_HEADER_ULL_NR 1 /* Nr of unsigned long long in file_header structure */
#define FILE_HEADER_UL_NR 0 /* Nr of unsigned long in file_header structure */
#define FILE_HEADER_UL_NR 1 /* Nr of unsigned long in file_header structure */
#define FILE_HEADER_U_NR 12 /* Nr of [unsigned] int in file_header structure */
/* The values below are used for sanity check */
#define MIN_FILE_HEADER_SIZE 0
Expand Down

0 comments on commit 031bfd8

Please sign in to comment.