summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 0d6c85b4cb..8ab1665835 100644
--- a/vl.c
+++ b/vl.c
@@ -5152,7 +5152,7 @@ int main(int argc, char **argv, char **envp)
break;
#endif
case QEMU_OPTION_redir:
- net_slirp_redir(NULL, optarg);
+ net_slirp_redir(NULL, optarg, NULL);
break;
#endif
case QEMU_OPTION_bt: