aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/gcore/gcore.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/gcore/gcore.c')
-rw-r--r--usr.bin/gcore/gcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/gcore/gcore.c b/usr.bin/gcore/gcore.c
index 0e443b8a7b58..7757230e14cf 100644
--- a/usr.bin/gcore/gcore.c
+++ b/usr.bin/gcore/gcore.c
@@ -100,7 +100,7 @@ main(argc, argv)
struct exec exec;
int ch, cnt, efd, fd, sflag, uid;
char *binfile, *corefile;
- char errbuf[_POSIX2_LINE_MAX], fname[MAXPATHLEN + 1];
+ char errbuf[_POSIX2_LINE_MAX], fname[MAXPATHLEN];
int is_aout;
sflag = 0;