Skip to content

Commit ce917e8

Browse files
committed
chore(libsinsp): fix formatting
Signed-off-by: irozzo-1A <iacopo@sysdig.com>
1 parent 806b181 commit ce917e8

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

driver/modern_bpf/maps/maps.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ __weak const volatile uint32_t g_ia32_to_64_table[SYSCALL_TABLE_SIZE];
6767
*/
6868
__weak const volatile uint16_t ringbufs_num;
6969

70-
7170
/*=============================== BPF READ-ONLY GLOBAL VARIABLES ===============================*/
7271

7372
/*=============================== BPF GLOBAL VARIABLES ===============================*/

userspace/libsinsp/parsers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3088,7 +3088,7 @@ struct ppm_cmsghdr {
30883088
((char *)(cmsg)) + offsetof(ppm_cmsghdr, field), \
30893089
sizeof((cmsg)->field)))
30903090

3091-
#define PPM_CMSG_ALIGN(len) (((len) + sizeof(size_t) - 1) & (size_t)~(sizeof(size_t) - 1))
3091+
#define PPM_CMSG_ALIGN(len) (((len) + sizeof(size_t) - 1) & (size_t) ~(sizeof(size_t) - 1))
30923092

30933093
// Given a length, return the additional padding necessary such that
30943094
// `len + __PPM_CMSG_PADDING(len) == PPM_CMSG_ALIGN(len)`.

0 commit comments

Comments
 (0)