Skip to content

Commit aea71d5

Browse files
authored
Fix typo (#307)
#254
1 parent 1fd6937 commit aea71d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libbpfgo.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1599,7 +1599,7 @@ type IterOpts struct {
15991599
MapFd int
16001600
CgroupIterOrder BPFCgroupIterOrder
16011601
CgroupFd int
1602-
CGroupId uint64
1602+
CgroupId uint64
16031603
Tid int
16041604
Pid int
16051605
PidFd int
@@ -1609,7 +1609,7 @@ func (p *BPFProg) AttachIter(opts IterOpts) (*BPFLink, error) {
16091609
mapFd := C.uint(opts.MapFd)
16101610
cgroupIterOrder := uint32(opts.CgroupIterOrder)
16111611
cgroupFd := C.uint(opts.CgroupFd)
1612-
cgroupId := C.ulonglong(opts.CGroupId)
1612+
cgroupId := C.ulonglong(opts.CgroupId)
16131613
tid := C.uint(opts.Tid)
16141614
pid := C.uint(opts.Pid)
16151615
pidFd := C.uint(opts.PidFd)

0 commit comments

Comments
 (0)