aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication/basebackup.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2011-01-25 10:50:04 +0100
committerMagnus Hagander <magnus@hagander.net>2011-01-25 10:50:04 +0100
commit966d4f52c258aba8187d61fdc1e10b80d560f07c (patch)
tree518ea65a9e1d5496c7fce3818f151307e61102b1 /src/backend/replication/basebackup.c
parentd7a714828f1a4d09adef68b58674a6266aa8fa03 (diff)
downloadpostgresql-966d4f52c258aba8187d61fdc1e10b80d560f07c.tar.gz
postgresql-966d4f52c258aba8187d61fdc1e10b80d560f07c.zip
Typo fix for MemSet size.
Fujii Masao
Diffstat (limited to 'src/backend/replication/basebackup.c')
-rw-r--r--src/backend/replication/basebackup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/basebackup.c b/src/backend/replication/basebackup.c
index 73edcf2dc3e..251ed8e083b 100644
--- a/src/backend/replication/basebackup.c
+++ b/src/backend/replication/basebackup.c
@@ -148,7 +148,7 @@ parse_basebackup_options(List *options, basebackup_options *opt)
bool o_progress = false;
bool o_fast = false;
- MemSet(opt, 0, sizeof(opt));
+ MemSet(opt, 0, sizeof(*opt));
foreach(lopt, options)
{
DefElem *defel = (DefElem *) lfirst(lopt);