ps: exclude debugging only code from participation in nls support

This commit is prmarily concerned with elimnating deugging only
code from the nls template file.

It also eliminates any remaing useless trailing whitespace.
This commit is contained in:
Jim Warner
2011-11-07 10:21:41 -06:00
committed by Craig Small
parent 71b72b36ce
commit b8c3288594
5 changed files with 108 additions and 108 deletions

View File

@ -149,7 +149,7 @@ static void arg_show(void){
case SEL_TTY : show_tty("TTY ", walk->n, walk->u); break;
case SEL_SESS: show_pid("SESS", walk->n, walk->u); break;
case SEL_COMM: show_cmd("COMM", walk->n, walk->u); break;
default: printf(_("Garbage typecode value!\n"));
default: printf("Garbage typecode value!\n");
}
walk = walk->next;
}
@ -557,9 +557,9 @@ int main(int argc, char *argv[]){
arg_parse(argc,argv);
/* arg_show(); */
trace(_("screen is %ux%u\n"),screen_cols,screen_rows);
trace("screen is %ux%u\n",screen_cols,screen_rows);
/* printf("sizeof(proc_t) is %d.\n", sizeof(proc_t)); */
trace(_("======= ps output follows =======\n"));
trace("======= ps output follows =======\n");
init_output(); /* must be between parser and output */