aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/patch/patch.c
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2017-12-21 16:19:10 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2017-12-21 16:19:10 +0000
commitc844f14e37e57b9f259fb60423456b297b3951e1 (patch)
tree252b49ffdd599dd2f1aca2e0871bb682228206a9 /usr.bin/patch/patch.c
parent426b6bd53c678e5c60ddf1f84a75aa3c07377fa3 (diff)
Notes
Diffstat (limited to 'usr.bin/patch/patch.c')
-rw-r--r--usr.bin/patch/patch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/patch/patch.c b/usr.bin/patch/patch.c
index 822610671b43..b52919fe0467 100644
--- a/usr.bin/patch/patch.c
+++ b/usr.bin/patch/patch.c
@@ -112,7 +112,7 @@ static bool reverse_flag_specified = false;
static bool Vflag = false;
/* buffer holding the name of the rejected patch file. */
-static char rejname[NAME_MAX + 1];
+static char rejname[PATH_MAX];
/* how many input lines have been irretractibly output */
static LINENUM last_frozen_line = 0;