aboutsummaryrefslogtreecommitdiff
path: root/sbin/quotacheck
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/quotacheck')
-rw-r--r--sbin/quotacheck/quotacheck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/quotacheck/quotacheck.c b/sbin/quotacheck/quotacheck.c
index e32f84ff0202..a5cce23f11bc 100644
--- a/sbin/quotacheck/quotacheck.c
+++ b/sbin/quotacheck/quotacheck.c
@@ -97,8 +97,8 @@ union dinode {
struct quotaname {
long flags;
- char grpqfname[MAXPATHLEN + 1];
- char usrqfname[MAXPATHLEN + 1];
+ char grpqfname[PATH_MAX];
+ char usrqfname[PATH_MAX];
};
#define HASUSR 1
#define HASGRP 2