Use PATH_MAX, not MAXPATHLEN.

This commit is contained in:
Todd C. Miller
2018-01-11 14:55:11 -07:00
parent ff5ac3ef0e
commit da67a54906

View File

@@ -32,7 +32,7 @@
static adt_session_data_t *ah; /* audit session handle */
static adt_event_data_t *event; /* event to be generated */
static char cwd[MAXPATHLEN];
static char cwd[PATH_MAX];
static char cmdpath[PATH_MAX];
static int