diff --git a/usr.sbin/edquota/edquota.c b/usr.sbin/edquota/edquota.c index a03087707419..87ef4df7e8bb 100644 --- a/usr.sbin/edquota/edquota.c +++ b/usr.sbin/edquota/edquota.c @@ -110,7 +110,7 @@ main(int argc, char **argv) char *protoname, *cp, *oldoptarg; int eflag = 0, tflag = 0, pflag = 0, ch; char *fspath = NULL; - char buf[30]; + char buf[MAXLOGNAME]; if (argc < 2) usage();