Skip to content

Commit 8db55b4

Browse files
committed
make compiler happy
1 parent 7fc70c8 commit 8db55b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/data.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ backup_data_file(ConnectionArgs* conn_arg, pgFile *file,
607607
file->exists_in_prev ? prev_backup_start_lsn : InvalidXLogRecPtr,
608608
calg, clevel, checksum_version,
609609
/* send pagemap if any */
610-
use_pagemap ? &file->pagemap : NULL,
610+
use_pagemap,
611611
/* variables for error reporting */
612612
&err_blknum, &errmsg, &headers);
613613
}

src/pg_probackup.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ extern int send_pages(ConnectionArgs* conn_arg, const char *to_fullpath, const c
11261126
extern void fio_delete(mode_t mode, const char *fullpath, fio_location location);
11271127
extern int fio_send_pages(const char *to_fullpath, const char *from_fullpath, pgFile *file,
11281128
XLogRecPtr horizonLsn, int calg, int clevel, uint32 checksum_version,
1129-
bool use_pagemap, BlockNumber* err_blknum, char **errormsg,
1129+
bool use_pagemap, BlockNumber *err_blknum, char **errormsg,
11301130
BackupPageHeader2 **headers);
11311131
/* return codes for fio_send_pages */
11321132
extern int fio_send_file_gz(const char *from_fullpath, const char *to_fullpath, FILE* out, char **errormsg);

0 commit comments

Comments
 (0)