]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/accounting/procacct: fix minor errors
authorzhang jiao <zhangjiao2@cmss.chinamobile.com>
Tue, 3 Dec 2024 02:05:50 +0000 (10:05 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 13 Jan 2025 04:20:59 +0000 (20:20 -0800)
commitd5cf6b0d170fe57da66bc0456bfae4c6aa106860
tree96fdfb4bd5525d0e47809502593a64402a17b08e
parent658eb5ab916ddc92f294dbce8e3d449470be9f86
tools/accounting/procacct: fix minor errors

The logfile option was documented but not working.  Add it and optimized
the while loop.

Link: https://lkml.kernel.org/r/20241203020550.3145-1-zhangjiao2@cmss.chinamobile.com
Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com>
Reviewed-by: Dr. Thomas Orgis <thomas.orgis@uni-hamburg.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/accounting/procacct.c