UML - Fix helper_wait calls in watchdog
PATCH 3/4 UML - Fix helper_wait calls in watchdog
From: Johann Felix Soden <[email protected]>
In 1aa351a308d2c3ddb92b6cc45083fc54271d0010 the arguments of helper_wait() were changed. The adaptation of harddog_user.c was forgotten, so this errors occur:
/arch/um/drivers/harddog_user.c: In function 'start_watchdog':
/arch/um/drivers/harddog_user.c:82: error: too many arguments to function 'helper_wait' /arch/um/drivers/harddog_user.c:89: error: too many arguments to function 'helper_wait'
--- arch/um/drivers/harddog_user.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
arch/um/drivers/harddog_user.c +2 -2
@@ -79,14 +79,14 @@ int start_watchdog(int *in_fd_ret, int * n =read (in_fds[0 ], &c,sizeof (c));if (n ==0 ) {printk ("harddog_open - EOF on watchdog pipe\n" ); -helper_wait (pid,1 ,NULL ); +helper_wait (pid); 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,1 ,NULL ); +helper_wait (pid); err = n; goto out_close_out; }
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel