From 631844f68dab4d03b326f613c0f770774038584f Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 30 May 2001 03:27:07 +0000 Subject: Use PATH_MAX rather than MAXPATHLEN. --- bin/ps/ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/ps/ps.c b/bin/ps/ps.c index 628ca37..4c7189f 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -229,7 +229,7 @@ main(argc, argv) /* FALLTHROUGH */ case 't': { struct stat sb; - char *ttypath, pathbuf[MAXPATHLEN]; + char *ttypath, pathbuf[PATH_MAX]; if (strcmp(optarg, "co") == 0) ttypath = _PATH_CONSOLE; -- cgit v1.1