summaryrefslogtreecommitdiff
path: root/bin/ps/print.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-01-14 16:44:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-01-14 16:44:15 +0000
commitd329a59f1939ecd7d324443510841f8aefc6c876 (patch)
tree60db84521e2400721dba7f03543334add5b33c6e /bin/ps/print.c
parent79f835d30a8a64ebb3144136f34457e0b1aee8d0 (diff)
bring back the space before (cmd); ok millert aaron
Diffstat (limited to 'bin/ps/print.c')
-rw-r--r--bin/ps/print.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c
index bf80103cabd..2b475ed820d 100644
--- a/bin/ps/print.c
+++ b/bin/ps/print.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print.c,v 1.36 2004/12/20 15:10:46 aaron Exp $ */
+/* $OpenBSD: print.c,v 1.37 2005/01/14 16:44:14 deraadt Exp $ */
/* $NetBSD: print.c,v 1.27 1995/09/29 21:58:12 cgd Exp $ */
/*-
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
#else
-static char rcsid[] = "$OpenBSD: print.c,v 1.36 2004/12/20 15:10:46 aaron Exp $";
+static char rcsid[] = "$OpenBSD: print.c,v 1.37 2005/01/14 16:44:14 deraadt Exp $";
#endif
#endif /* not lint */
@@ -143,6 +143,7 @@ command(const struct kinfo_proc2 *kp, VARENT *ve)
}
if (argv == NULL || argv[0] == '\0' ||
strcmp(cmdpart(argv[0]), kp->p_comm)) {
+ fmt_putc(' ', &left);
fmt_putc('(', &left);
fmt_puts(kp->p_comm, &left);
fmt_putc(')', &left);