From 20fba946af613e21f1e5d1d2b2143e35ba44c88b Mon Sep 17 00:00:00 2001 From: albert <> Date: Sun, 22 Jan 2006 08:00:03 +0000 Subject: [PATCH] SCHED_BATCH --- NEWS | 1 + ps/output.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 408c485a..228b7406 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ procps-3.2.6 --> procps-3.2.7 top: document H option -- thanks Tony Ernst top: terabytes -- thanks Tony Ernst +ps: SCHED_BATCH is B procps-3.2.5 --> procps-3.2.6 diff --git a/ps/output.c b/ps/output.c index dcf1cca1..baa8eec9 100644 --- a/ps/output.c +++ b/ps/output.c @@ -609,7 +609,7 @@ static int pr_class(char *restrict const outbuf, const proc_t *restrict const pp case 0: return snprintf(outbuf, COLWID, "TS"); // SCHED_OTHER case 1: return snprintf(outbuf, COLWID, "FF"); // SCHED_FIFO case 2: return snprintf(outbuf, COLWID, "RR"); // SCHED_RR - case 3: return snprintf(outbuf, COLWID, "#3"); // SCHED_BATCH? (will be "B") + case 3: return snprintf(outbuf, COLWID, "B"); // SCHED_BATCH? (will be "B") case 4: return snprintf(outbuf, COLWID, "#4"); // SCHED_ISO? (Con Kolivas) case 5: return snprintf(outbuf, COLWID, "#5"); // case 8: return snprintf(outbuf, COLWID, "#8"); //