Skip to content

Commit baa86ab

Browse files
committed
Fix some typo
1 parent f524ab1 commit baa86ab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

qiling/os/linux/linux.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,10 @@ def load(self):
9696
self.thread_class = None
9797

9898
for i in range(NR_OPEN):
99-
if hasattr(self.fd[i], 'close_on_exec') and \
100-
self.fd[i].close_on_exec:
99+
if getattr(self.fd[i], 'close_on_exec', 0):
101100
self.fd[i] = 0
102101

103-
def hook_syscall(self, int= None, intno= None):
102+
def hook_syscall(self, ql, intno = None):
104103
return self.load_syscall()
105104

106105

0 commit comments

Comments
 (0)