summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-11-30 05:43:12 +0000
committerderaadt <deraadt@openbsd.org>1997-11-30 05:43:12 +0000
commit8a7b45025f017ba6ee77815f887ab26ccef51584 (patch)
tree428d2fcc1fc0974aa71ffa02507e53627b8d2eac
parentdeal with unterminated e_login and e_wmesg (diff)
downloadwireguard-openbsd-8a7b45025f017ba6ee77815f887ab26ccef51584.tar.xz
wireguard-openbsd-8a7b45025f017ba6ee77815f887ab26ccef51584.zip
oh yeah, we are min() clean
-rw-r--r--bin/ps/print.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c
index a80fecb10f0..47f2a5ceea4 100644
--- a/bin/ps/print.c
+++ b/bin/ps/print.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print.c,v 1.13 1997/11/30 05:41:23 deraadt Exp $ */
+/* $OpenBSD: print.c,v 1.14 1997/11/30 05:43:12 deraadt Exp $ */
/* $NetBSD: print.c,v 1.27 1995/09/29 21:58:12 cgd Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
#else
-static char rcsid[] = "$OpenBSD: print.c,v 1.13 1997/11/30 05:41:23 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: print.c,v 1.14 1997/11/30 05:43:12 deraadt Exp $";
#endif
#endif /* not lint */
@@ -72,6 +72,8 @@ extern int needenv, needcomm, commandonly;
static char *cmdpart __P((char *));
+#define min(a,b) ((a) < (b) ? (a) : (b))
+
static char *
cmdpart(arg0)
char *arg0;