aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/gcore
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2001-03-01 06:00:22 +0000
committerWarner Losh <imp@FreeBSD.org>2001-03-01 06:00:22 +0000
commit77892acd6a212004322f705c3e997f13179bfe55 (patch)
tree8547f83ae7d3cab359f43f576d43bdbc76134343 /usr.bin/gcore
parent167ea27b4f46e91e0c6d52f55722965cee5acdf4 (diff)
Notes
Diffstat (limited to 'usr.bin/gcore')
-rw-r--r--usr.bin/gcore/aoutcore.c2
-rw-r--r--usr.bin/gcore/gcore.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/gcore/aoutcore.c b/usr.bin/gcore/aoutcore.c
index 0e443b8a7b58..7757230e14cf 100644
--- a/usr.bin/gcore/aoutcore.c
+++ b/usr.bin/gcore/aoutcore.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;
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;