Update order of arguments

This commit is contained in:
Andrew Case
2020-03-12 19:47:15 +00:00
committed by ikelos
parent 722700d2dc
commit 7d6d74bc91
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class lsof(plugins.PluginInterface):
for task in tasks:
pid = task.p_pid
for _, filepath, fd in mac.MacUtilities.files_descriptors_for_process(self.config['darwin'], self.context, task):
for _, filepath, fd in mac.MacUtilities.files_descriptors_for_process(self.context, self.config['darwin'], task):
if filepath and len(filepath) > 0:
yield (0, (pid, fd, filepath))