summaryrefslogtreecommitdiffstats
path: root/update-ca.c
diff options
context:
space:
mode:
Diffstat (limited to 'update-ca.c')
-rw-r--r--update-ca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-ca.c b/update-ca.c
index 641fd64..7bb4f1b 100644
--- a/update-ca.c
+++ b/update-ca.c
@@ -196,7 +196,7 @@ static void proc_localglobaldir(const char *fullpath, struct hash *h, int tmpfil
static void proc_etccertsdir(const char* fullpath, struct hash* h, int tmpfile_fd)
{
- char linktarget[SYMLINK_MAX];
+ char linktarget[PATH_MAX];
ssize_t linklen;
linklen = readlink(fullpath, linktarget, sizeof(linktarget)-1);