Re: [uml-devel] [PATCH 4/5] UML - driver formatting fixes

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Blaisorblade <blaisorblade@...>, <akpm@...>
Cc: <user-mode-linux-devel@...>, <linux-kernel@...>
Date: Wednesday, March 7, 2007 - 12:11 pm

On Tue, Mar 06, 2007 at 08:07:16PM +0100, Blaisorblade wrote:

Right, patch below.

				Jeff

-- 
Work email - jdike at linux dot intel dot com


My last formatting patch got the sign of an error wrong in a printk.

Thanks to Blaisorblade for the close look.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
--
 arch/um/drivers/chan_user.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: test/arch/um/drivers/chan_user.c
===================================================================
--- test.orig/arch/um/drivers/chan_user.c	2007-03-06 12:10:12.000000000 -0500
+++ test/arch/um/drivers/chan_user.c	2007-03-07 11:14:12.000000000 -0500
@@ -158,7 +158,7 @@ static int winch_tramp(int fd, struct tt
 	 */
 	err = run_helper_thread(winch_thread, &data, CLONE_FILES, &stack, 0);
 	if(err < 0){
-		printk("fork of winch_thread failed - errno = %d\n", err);
+		printk("fork of winch_thread failed - errno = %d\n", -err);
 		goto out_close;
 	}
 
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 4/5] UML - driver formatting fixes, Jeff Dike, (Tue Mar 6, 2:32 pm)
Re: [uml-devel] [PATCH 4/5] UML - driver formatting fixes, Jeff Dike, (Wed Mar 7, 12:11 pm)