Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c63f7020 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

uml: user of helper_wait() got missed when it got extra arguments

parent db99247a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -79,14 +79,14 @@ int start_watchdog(int *in_fd_ret, int *out_fd_ret, char *sock)
	n = read(in_fds[0], &c, sizeof(c));
	if (n == 0) {
		printk("harddog_open - EOF on watchdog pipe\n");
		helper_wait(pid);
		helper_wait(pid, 1, NULL);
		err = -EIO;
		goto out_close_out;
	}
	else if (n < 0) {
		printk("harddog_open - read of watchdog pipe failed, "
		       "err = %d\n", errno);
		helper_wait(pid);
		helper_wait(pid, 1, NULL);
		err = n;
		goto out_close_out;
	}