mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-22 14:43:08 +00:00
m1n1.proxy: increase p.call max args to 5 to match proxy.c
Commit 6a1a9bfc3c
raised the limit in proxy.c but not in the Python code.
Signed-off-by: Zhuowei Zhang <zhuoweizhang@yahoo.com>
This commit is contained in:
parent
81acfe96d8
commit
5836db9305
1 changed files with 1 additions and 1 deletions
|
@ -678,7 +678,7 @@ class M1N1Proxy(Reloadable):
|
|||
def exit(self, retval=0):
|
||||
self.request(self.P_EXIT, retval)
|
||||
def call(self, addr, *args, reboot=False):
|
||||
if len(args) > 4:
|
||||
if len(args) > 5:
|
||||
raise ValueError("Too many arguments")
|
||||
return self.request(self.P_CALL, addr, *args, reboot=reboot)
|
||||
def reload(self, addr, *args, el1=False):
|
||||
|
|
Loading…
Reference in a new issue