Change object_type parameter for object_from_symbol.

This commit is contained in:
Mike Auty
2019-08-14 20:50:42 +01:00
committed by ikelos
parent be27aab8ae
commit 5db6ade2ea
10 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class Lsmod(plugins.PluginInterface):
kernel = contexts.Module(context, darwin_symbols, layer_name, 0)
kmod_ptr = kernel.object_from_symbol(object_type = "kmod")
kmod_ptr = kernel.object_from_symbol(symbol_name = "kmod")
# TODO - use smear-proof list walking API after dev release
kmod = kmod_ptr.dereference().cast("kmod_info")