[PATCH] kernel/acct.c file,kernel 2.4.18-17.7.x

From: shiva kumar (sivakumar17778@yahoo.co.in)
Date: Tue Jul 15 2003 - 12:06:58 EST


Hi,

    I am working on linux kernel ( 2.4.18-17.7.x ).
 
    I have taken a bug ( in 2.4.18-17.7.x ) from
Bugzilla and fixed it.
 
    Bug No is 76268 ( lastcomm does not provide
accurate information compared to /usr/bin/time ).
 
    I am sending the patch with this mail.
***********************************************************************************
    PATCH:
    -----------
diff -ur linux/kernel/acct.c linuxfix/kernel/acct.c

--- linux/kernel/acct.c Tue Mar 20 02:05:08 2001

+++ linuxfix/kernel/acct.c Tue Jun 10 14:05:34 2003

@@ -354,7 +354,7 @@

file = acct_file;

get_file(file);

unlock_kernel();

- do_acct_process(exitcode, acct_file);

+ do_acct_process(exitcode, file);

fput(file);

} else

unlock_kernel();

*******************************************************************************************************

  Please send me the feedback about this.

 

Regards,

Sivakumar

________________________________________________________________________
Send free SMS using the Yahoo! Messenger. Go to http://in.mobile.yahoo.com/new/pc/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:58 EST