diff options
Diffstat (limited to 'net/tap.c')
-rw-r--r-- | net/tap.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -836,9 +836,8 @@ int net_init_tap(const Netdev *netdev, const char *name, } for (i = 0; i < nfds; i++) { - fd = monitor_fd_param(cur_mon, fds[i], &err); + fd = monitor_fd_param(cur_mon, fds[i], errp); if (fd == -1) { - error_propagate(errp, err); ret = -1; goto free_fail; } |