diff options
| author | Andreas Schulz <ats@FreeBSD.org> | 1994-11-10 23:25:12 +0000 |
|---|---|---|
| committer | Andreas Schulz <ats@FreeBSD.org> | 1994-11-10 23:25:12 +0000 |
| commit | fa49dc9cf0744725c24958cc9cbdfbfb6c7cb8b3 (patch) | |
| tree | 3d85cef8aa64e643679f9d85b228cbe929fc9f68 /bin | |
| parent | 1113f9168138a40da43b5b4acd66b28c2fa53431 (diff) | |
Notes
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/ps/fmt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ps/fmt.c b/bin/ps/fmt.c index 59b99190dbf5..43d2c29215c8 100644 --- a/bin/ps/fmt.c +++ b/bin/ps/fmt.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: fmt.c,v 1.3 1994/09/24 02:56:43 davidg Exp $ */ #ifndef lint @@ -38,6 +38,7 @@ static char sccsid[] = "@(#)fmt.c 8.4 (Berkeley) 4/15/94"; #endif /* not lint */ #include <sys/param.h> +#include <sys/syslimits.h> #include <sys/time.h> #include <sys/resource.h> #include <ctype.h> @@ -59,7 +60,7 @@ shquote(argv) char **argv; { char **p, *dst, *src; - static char buf[4096]; /* XXX */ + static char buf[ARG_MAX]; /* XXX */ if (*argv == 0) { buf[0] = 0; |
