summaryrefslogtreecommitdiffstats
path: root/kernel/acct.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-11-26 21:21:49 +0100
committerIngo Molnar <mingo@elte.hu>2007-11-26 21:21:49 +0100
commitbcbe4a076609e15ea84cbebd9cd8f317ed70ce92 (patch)
tree6d495f163169c5b95d05b44e012a0d18a326dd0d /kernel/acct.c
parentsched: fix prev_stime calculation (diff)
downloadlinux-bcbe4a076609e15ea84cbebd9cd8f317ed70ce92.tar.xz
linux-bcbe4a076609e15ea84cbebd9cd8f317ed70ce92.zip
sched: fix kernel/acct.c comment
fix kernel/acct.c comment. noticed by Lin Tan. Comment suggested by Olaf Kirch. also see: http://bugzilla.kernel.org/show_bug.cgi?id=8220 Reported-by: tammy000@gmail.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/acct.c')
-rw-r--r--kernel/acct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/acct.c b/kernel/acct.c
index fce53d8df8a7..cf19547cc9e4 100644
--- a/kernel/acct.c
+++ b/kernel/acct.c
@@ -413,7 +413,7 @@ static u32 encode_float(u64 value)
* The acct_process() call is the workhorse of the process
* accounting system. The struct acct is built here and then written
* into the accounting file. This function should only be called from
- * do_exit().
+ * do_exit() or when switching to a different output file.
*/
/*