summaryrefslogtreecommitdiff
path: root/src/bin/psql/stringutils.c
diff options
context:
space:
mode:
authorNeil Conway2004-01-25 03:07:22 +0000
committerNeil Conway2004-01-25 03:07:22 +0000
commit033bab4089e2b378be96ce8babe1c018454c6fc0 (patch)
tree0646afeaae5c6854a17ae3b0f681cbac25ca085f /src/bin/psql/stringutils.c
parent86021a7c1b115da8ebb468dbafb7c4d12ed93682 (diff)
More fallout from the recent psql patch: rename xmalloc and friends to
pg_malloc, to avoid linker failures on same platforms.
Diffstat (limited to 'src/bin/psql/stringutils.c')
-rw-r--r--src/bin/psql/stringutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/stringutils.c b/src/bin/psql/stringutils.c
index 783044acef..e39da1f6c2 100644
--- a/src/bin/psql/stringutils.c
+++ b/src/bin/psql/stringutils.c
@@ -77,7 +77,7 @@ strtokx(const char *s,
* tokens. 2X the space is a gross overestimate, but it's
* unlikely that this code will be used on huge strings anyway.
*/
- storage = xmalloc(2 * strlen(s) + 1);
+ storage = pg_malloc(2 * strlen(s) + 1);
strcpy(storage, s);
string = storage;
}