From 9f6f58e4ed6beae4d3d11652efcceea63036de5c Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Mon, 4 Apr 2016 14:53:40 +0900 Subject: [PATCH] MAXFILENAME -> MAXPGPATH --- repmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgr.c b/repmgr.c index 44bec7df..0633d967 100644 --- a/repmgr.c +++ b/repmgr.c @@ -2158,7 +2158,7 @@ parse_label_lsn(const char *label_key, const char *label_value) static void read_backup_label(const char *local_data_directory, struct BackupLabel *out_backup_label) { - char label_path[MAXFILENAME]; + char label_path[MAXPGPATH]; FILE *label_file; int nmatches = 0; char label_key[MAXLEN];