[merged mm-nonmm-stable] tools-accounting-procacct-fix-minor-errors.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The quilt patch titled
     Subject: tools/accounting/procacct: fix minor errors
has been removed from the -mm tree.  Its filename was
     tools-accounting-procacct-fix-minor-errors.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: zhang jiao <zhangjiao2@xxxxxxxxxxxxxxxxxxxx>
Subject: tools/accounting/procacct: fix minor errors
Date: Tue, 3 Dec 2024 10:05:50 +0800

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@xxxxxxxxxxxxxxxxxxxx
Signed-off-by: zhang jiao <zhangjiao2@xxxxxxxxxxxxxxxxxxxx>
Reviewed-by: Dr. Thomas Orgis <thomas.orgis@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 tools/accounting/procacct.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

--- a/tools/accounting/procacct.c~tools-accounting-procacct-fix-minor-errors
+++ a/tools/accounting/procacct.c
@@ -274,12 +274,11 @@ int main(int argc, char *argv[])
 	int maskset = 0;
 	char *logfile = NULL;
 	int cfd = 0;
-	int forking = 0;
 
 	struct msgtemplate msg;
 
-	while (!forking) {
-		c = getopt(argc, argv, "m:vr:");
+	while (1) {
+		c = getopt(argc, argv, "m:vr:w:");
 		if (c < 0)
 			break;
 
_

Patches currently in -mm which might be from zhangjiao2@xxxxxxxxxxxxxxxxxxxx are






[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux