summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2005-01-14 16:44:14 +0000
committerderaadt <deraadt@openbsd.org>2005-01-14 16:44:14 +0000
commit9ef3479fbcdf159a7768b4f5b45dbf42e2c196c6 (patch)
tree56ae8d6a54c40d61c17e1ac535f327c7461807c2
parentwhen removing the last entry from the tail queue, reinitialize the (diff)
downloadwireguard-openbsd-9ef3479fbcdf159a7768b4f5b45dbf42e2c196c6.tar.xz
wireguard-openbsd-9ef3479fbcdf159a7768b4f5b45dbf42e2c196c6.zip
bring back the space before (cmd); ok millert aaron
-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);