Skip to content

Commit 4a6a257

Browse files
committed
Fixed format
1 parent 06d1bad commit 4a6a257

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

fact-ebpf/src/bpf/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ int BPF_PROG(trace_d_instantiate, struct dentry* dentry, struct inode* inode) {
328328
m->d_instantiate.error++;
329329
goto cleanup;
330330
}
331-
ctx_path->len = path_len - 1; // exclude null terminator
331+
// Exclude null terminator from length
332+
ctx_path->len = path_len - 1;
332333

333334
if (!path_is_monitored(ctx_path)) {
334335
m->d_instantiate.ignored++;

0 commit comments

Comments
 (0)