summaryrefslogtreecommitdiffstats
path: root/src/pacman/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/conf.c')
-rw-r--r--src/pacman/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index b16be044..512eade0 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -512,7 +512,7 @@ static int _parseconfig(const char *file, int parse_options,
char **section, pmdb_t *db)
{
FILE *fp = NULL;
- char line[PATH_MAX+1];
+ char line[PATH_MAX];
int linenum = 0;
char *ptr;
int ret = 0;