aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/createuser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/scripts/createuser.c')
-rw-r--r--src/bin/scripts/createuser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/scripts/createuser.c b/src/bin/scripts/createuser.c
index d88093f8b6e..0e36edcc5d1 100644
--- a/src/bin/scripts/createuser.c
+++ b/src/bin/scripts/createuser.c
@@ -313,7 +313,7 @@ main(int argc, char *argv[])
if (cell->next)
appendPQExpBuffer(&sql, "%s,", fmtId(cell->val));
else
- appendPQExpBuffer(&sql, "%s", fmtId(cell->val));
+ appendPQExpBufferStr(&sql, fmtId(cell->val));
}
}
appendPQExpBufferChar(&sql, ';');