1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-18 04:58:51 +02:00

Fix typo in stack trace message.

Contributed by Josh Soref.
This commit is contained in:
Josh Soref 2019-08-26 12:20:51 -04:00 committed by David Steele
parent c2771e5469
commit 08bac74d38
2 changed files with 3 additions and 3 deletions

View File

@ -330,7 +330,7 @@ stackTraceToZ(char *buffer, size_t bufferSize, const char *fileName, const char
{
// If the function passed in was not at the top of the stack then some functions are missing
if (stackIdx == stackSize - 1)
result += stackTraceFmt(buffer, bufferSize, result, "\n ... function(s) ommitted ...");
result += stackTraceFmt(buffer, bufferSize, result, "\n ... function(s) omitted ...");
// Output the rest of the stack
for (; stackIdx >= 0; stackIdx--)

View File

@ -91,14 +91,14 @@ testRun(void)
TEST_RESULT_STR(
buffer,
"file1:function2:99:(test build required for parameters)\n"
" ... function(s) ommitted ...\n"
" ... function(s) omitted ...\n"
"file1:function1:0:(void)",
" check stack trace");
#else
TEST_RESULT_STR(
buffer,
"file1:function2:99:(test build required for parameters)\n"
" ... function(s) ommitted ...\n"
" ... function(s) omitted ...\n"
"file1:function1:(void)",
" check stack trace");
#endif