Skip to content

Commit a55520a

Browse files
committed
Compatibilty with more changes I just made to Masche
1 parent f1b31e3 commit a55520a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/GadgetsFromProcess.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
func GadgetsFromProcess(pid int, maxLength int) (types.GadgetInstances, error, []error) {
1313
softerrors := []error{}
14-
proc := process.LinuxProcess(pid)
14+
proc := process.GetProcess(pid)
1515

1616
allGadgets := []*types.GadgetInstance{}
1717

lib/GetLibrariesForPid.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
func GetLibrariesForPid(pid int, checkSignatures bool) ([]*types.Library, error, []error) {
10-
libraries, harderror2, softerrors2 := listlibs.ListLoadedLibraries(process.LinuxProcess(pid))
10+
libraries, harderror2, softerrors2 := listlibs.ListLoadedLibraries(process.GetProcess(pid))
1111
if harderror2 != nil {
1212
return nil, harderror2, softerrors2
1313
} // if

0 commit comments

Comments
 (0)