summaryrefslogtreecommitdiff
path: root/src/pacman
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman')
-rw-r--r--src/pacman/download.c2
-rw-r--r--src/pacman/download.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/download.c b/src/pacman/download.c
index 2be6e242..2b0ad096 100644
--- a/src/pacman/download.c
+++ b/src/pacman/download.c
@@ -40,7 +40,7 @@
#include "conf.h"
/* progress bar */
-char sync_fnm[23];
+char sync_fnm[PM_DLFNM_LEN+1];
int offset;
struct timeval t0, t;
float rate;
diff --git a/src/pacman/download.h b/src/pacman/download.h
index a3ff45c2..fb65a4c0 100644
--- a/src/pacman/download.h
+++ b/src/pacman/download.h
@@ -21,7 +21,7 @@
#ifndef _PM_DOWNLOAD_H
#define _PM_DOWNLOAD_H
-extern char sync_fnm[23];
+extern char sync_fnm[PM_DLFNM_LEN+1];
extern int offset;
extern struct timeval t0, t;
extern float rate;