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:
parent
c2771e5469
commit
08bac74d38
@ -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--)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user