completed the move, output.* --> escape.*

This commit is contained in:
albert committed 2002-12-21 13:36:36 +00:00
1 parent b67dc52160
commit f2a0a095ba
4 files changed
+14 -97

No files matched your search

-6
View File
@@ -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("-");
}