]> granicus.if.org Git - procps-ng/commitdiff
ps: rename SZ to SIZE
authorCraig Small <csmall@debian.org>
Mon, 5 Oct 2009 10:49:04 +0000 (10:49 +0000)
committerCraig Small <csmall@enc.com.au>
Sun, 18 Dec 2011 11:50:12 +0000 (22:50 +1100)
Means we do not follow SCO but less confusion.

A patch from Debian.

Bug-Debian: http://bugs.debian.org/541061
Backported-by: Sami Kerola <kerolasa@iki.fi>
ps/output.c
ps/ps.1

index bb5ec38bcf284df32a6068ce3d0bfbdb5c5aea7a..f496ec929851e24c817a3bed1a9e8664156bcfa4 100644 (file)
@@ -1494,7 +1494,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_tasks,    sr_tasks,   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 1fd6e094fb1fc0ed2cffb4c3c2c10f939f78349b..b84447b40dcb3cedba3b6efd71676eb5904fdd89 100644 (file)
--- a/ps/ps.1
+++ b/ps/ps.1
@@ -1279,7 +1279,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.