summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/port.h2
-rw-r--r--src/pl/plpython/plpy_elog.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/port.h b/src/include/port.h
index 74149f3709c..26a9a48aa04 100644
--- a/src/include/port.h
+++ b/src/include/port.h
@@ -477,7 +477,7 @@ extern pqsigfunc pqsignal(int signo, pqsigfunc func);
/* port/quotes.c */
extern char *escape_single_quotes_ascii(const char *src);
-/* port/wait_error.c */
+/* common/wait_error.c */
extern char *wait_result_to_str(int exit_status);
#endif /* PG_PORT_H */
diff --git a/src/pl/plpython/plpy_elog.c b/src/pl/plpython/plpy_elog.c
index 3709ad38068..7b017da2f86 100644
--- a/src/pl/plpython/plpy_elog.c
+++ b/src/pl/plpython/plpy_elog.c
@@ -213,7 +213,7 @@ PLy_traceback(PyObject *e, PyObject *v, PyObject *tb,
*tb_depth = 0;
initStringInfo(&tbstr);
- /* Mimick Python traceback reporting as close as possible. */
+ /* Mimic Python traceback reporting as close as possible. */
appendStringInfoString(&tbstr, "Traceback (most recent call last):");
while (tb != NULL && tb != Py_None)
{