From SUSv3:
Any [standard output] field need not be meaningful in all implementations. In such a case a hyphen ('-') should be output in place of the field value So have the `-O label' option print out the string " -" if the process has no label. Approved by: Silence from rwatson and green (when asked in March...)
This commit is contained in:
parent
76adc1fd42
commit
ce1affa2ac
@ -774,7 +774,7 @@ out:
|
||||
(void)printf("%-*s", v->width, string);
|
||||
free(string);
|
||||
} else
|
||||
(void)printf("%-*s", v->width, "");
|
||||
(void)printf("%-*s", v->width, " -");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user