[PATCH] fix a mistake of output for task's state

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

 



Hello Dave,

Please refer to the attachment. I think the string of state is not
correct.

--
--
Regards
Qiao Nuohan


>From 5116b3a3cd82c93816ed09b6f4c52932a592911b Mon Sep 17 00:00:00 2001
From: qiaonuohan <qiaonuohan@xxxxxxxxxxxxxx>
Date: Wed, 12 Sep 2012 15:10:24 +0800
Subject: [PATCH] change the output of task's state

---
 task.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/task.c b/task.c
index c8dee43..adbfe42 100755
--- a/task.c
+++ b/task.c
@@ -4633,7 +4633,7 @@ task_state_string(ulong task, char *buf, int verbose)
 
 	if (valid_task_state(_TRACING_STOPPED_) &&
 	    (state & _TRACING_STOPPED_)) {
-		sprintf(buf, "ST"); 
+		sprintf(buf, "TS"); 
 		valid++; 
 		set++;
 	}
-- 
1.7.1

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux