summaryrefslogtreecommitdiffstats
path: root/patches/procps-3.2.8/0048-ps_size_sz.patch
blob: e75c732eda3544905cc8ae24d0283cdac961ceef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From 941c8bea2133a9155df6fddb3666d528cab2034e Mon Sep 17 00:00:00 2001
From: http://ftp.de.debian.org/debian/pool/main/p/procps/procps_3.2.8-8.debian.tar.gz <info@debian.org>
Date: Fri, 19 Mar 2010 21:58:46 +0100
Subject: [PATCH 48/70] ps_size_sz

===================================================================
---
 ps/output.c |    2 +-
 ps/ps.1     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ps/output.c b/ps/output.c
index 1a196ff..f9a29ce 100644
--- a/ps/output.c
+++ b/ps/output.c
@@ -1522,7 +1522,7 @@ static const format_struct format_array[] = {
 {"sigcatch",  "CAUGHT",  pr_sigcatch, sr_nop,     9,   0,    XXX, TO|SIGNAL}, /*caught*/
 {"sigignore", "IGNORED", pr_sigignore,sr_nop,     9,   0,    XXX, TO|SIGNAL}, /*ignored*/
 {"sigmask",   "BLOCKED", pr_sigmask,  sr_nop,     9,   0,    XXX, TO|SIGNAL}, /*blocked*/
-{"size",      "SZ",      pr_swapable, sr_swapable, 5,  0,    SCO, PO|RIGHT},
+{"size",      "SIZE",      pr_swapable, sr_swapable, 5,  0,    SCO, PO|RIGHT},
 {"sl",        "SL",      pr_nop,      sr_nop,     3,   0,    XXX, AN|RIGHT},
 {"spid",      "SPID",    pr_thread,   sr_tid,     5,   0,    SGI, TO|PIDMAX|RIGHT},
 {"stackp",    "STACKP",  pr_stackp,   sr_start_stack, 8, 0,  LNX, PO|RIGHT}, /*start_stack*/
diff --git a/ps/ps.1 b/ps/ps.1
index 90fabbc..ad347ad 100644
--- a/ps/ps.1
+++ b/ps/ps.1
@@ -1254,7 +1254,7 @@ sigmask	BLOCKED	T{
 see\ \fBblocked\fR.  (alias\ \fBblocked\fR,\ \fBsig_block\fR).
 T}
 
-size	SZ	T{
+size	SIZE	T{
 approximate amount of swap space that would be required
 if the process were to dirty all writable pages and then
 be swapped out.
-- 
1.7.0