completed the move, output.* --> escape.*
This commit is contained in:
6
w.c
6
w.c
@@ -10,7 +10,6 @@
|
||||
#include "proc/readproc.h"
|
||||
#include "proc/devname.h"
|
||||
#include "proc/procps.h"
|
||||
#include "proc/output.h"
|
||||
#include "proc/sysinfo.h"
|
||||
#include "proc/escape.h"
|
||||
#include <ctype.h>
|
||||
@@ -221,11 +220,6 @@ static void showinfo(utmp_t *u, int formtype, int maxcmd, int from) {
|
||||
char cmdbuf[512];
|
||||
escape_command(cmdbuf, best, sizeof cmdbuf, maxcmd, ESC_ARGS);
|
||||
fputs(cmdbuf,stdout);
|
||||
|
||||
// if (best->cmdline)
|
||||
// print_strlist(stdout, best->cmdline, maxcmd);
|
||||
// else
|
||||
// printf("%*.*s", -maxcmd, maxcmd, best->cmd);
|
||||
} else {
|
||||
printf("-");
|
||||
}
|
||||
|
Reference in New Issue
Block a user