]> granicus.if.org Git - procps-ng/commitdiff
top: swat a bug introduced with recent width refactor
authorJim Warner <james.warner@comcast.net>
Fri, 28 Sep 2012 21:39:35 +0000 (16:39 -0500)
committerCraig Small <csmall@enc.com.au>
Tue, 2 Oct 2012 10:56:40 +0000 (20:56 +1000)
Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c

index b99c401a9ab36e3c7f6bb9120139244bebe375bd..053caf1dc1a666ba25ad7fba2749b94b1728ae59 100644 (file)
--- a/top/top.c
+++ b/top/top.c
@@ -3813,6 +3813,7 @@ static const char *task_show (const WIN_t *q, const proc_t *p) {
 #endif
          case P_CGR:
             makeVAR(p->cgroup[0]);
+            break;
          case P_CMD:
             makeVAR(forest_display(q, p));
             break;
@@ -3962,7 +3963,6 @@ static const char *task_show (const WIN_t *q, const proc_t *p) {
             break;
          default:                 // keep gcc happy
             continue;
-            break;
 
       } // end: switch 'procflag'