diff options
author | TheCharlatan <seb.kung@gmail.com> | 2023-05-14 19:21:50 +0200 |
---|---|---|
committer | TheCharlatan <seb.kung@gmail.com> | 2023-06-28 09:52:30 +0200 |
commit | 3fa9094b92c5d37f486b0f8265062d3456796a50 (patch) | |
tree | 43b48e3e5529b7caa097af20580b29c9a75c44cd /test/lint/lint-format-strings.py | |
parent | edb55e2777063dfeba0a52bbd0b92af8b4688501 (diff) | |
download | bitcoin-3fa9094b92c5d37f486b0f8265062d3456796a50.tar.xz |
scripted-diff: Rename FatalError to FatalErrorf
This is done in preparation for the next commit where a new FatalError
function is introduced. FatalErrorf follows common convention to append
'f' for functions accepting format arguments.
-BEGIN VERIFY SCRIPT-
sed -i 's/FatalError/FatalErrorf/g' $( git grep -l 'FatalError')
-END VERIFY SCRIPT-
Diffstat (limited to 'test/lint/lint-format-strings.py')
-rwxr-xr-x | test/lint/lint-format-strings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lint/lint-format-strings.py b/test/lint/lint-format-strings.py index f54126e023..43addab2f3 100755 --- a/test/lint/lint-format-strings.py +++ b/test/lint/lint-format-strings.py @@ -16,7 +16,7 @@ import re import sys FUNCTION_NAMES_AND_NUMBER_OF_LEADING_ARGUMENTS = [ - 'FatalError,0', + 'FatalErrorf,0', 'fprintf,1', 'tfm::format,1', # Assuming tfm::::format(std::ostream&, ... 'LogConnectFailure,1', |