diff options
author | Federico Giovanardi <federico.giovanardi@cnhind.com> | 2024-11-19 09:55:07 +0100 |
---|---|---|
committer | Federico Giovanardi <federico.giovanardi@cnhind.com> | 2024-11-19 09:55:07 +0100 |
commit | 0c851a58f7204c11183efb6bc22f7c01ccb907eb (patch) | |
tree | ae409939a8f2fe7510d62c8a1a6a9dd8fbdde28e | |
parent | test: fix generate-sym-test using the wrong array (diff) | |
download | systemd-0c851a58f7204c11183efb6bc22f7c01ccb907eb.tar.xz systemd-0c851a58f7204c11183efb6bc22f7c01ccb907eb.zip |
style: Fix formatting
-rwxr-xr-x | src/test/generate-sym-test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/generate-sym-test.py b/src/test/generate-sym-test.py index 914120b0bc..2e5177c934 100755 --- a/src/test/generate-sym-test.py +++ b/src/test/generate-sym-test.py @@ -99,13 +99,13 @@ int main(void) { printf("Found %zu symbols from source files.\\n", j); for (i = 0; symbols_from_sym[i].name; i++) { - struct symbol*n = bsearch(symbols_from_sym+i, symbols_from_source, sizeof(symbols_from_source)/sizeof(symbols_from_source[0])-1, sizeof(symbols_from_source[0]), sort_callback); + struct symbol *n = bsearch(symbols_from_sym+i, symbols_from_source, sizeof(symbols_from_source)/sizeof(symbols_from_source[0])-1, sizeof(symbols_from_source[0]), sort_callback); if (!n) printf("Found in symbol file, but not in sources: %s\\n", symbols_from_sym[i].name); } for (j = 0; symbols_from_source[j].name; j++) { - struct symbol*n = bsearch(symbols_from_source+j, symbols_from_sym, sizeof(symbols_from_sym)/sizeof(symbols_from_sym[0])-1, sizeof(symbols_from_sym[0]), sort_callback); + struct symbol *n = bsearch(symbols_from_source+j, symbols_from_sym, sizeof(symbols_from_sym)/sizeof(symbols_from_sym[0])-1, sizeof(symbols_from_sym[0]), sort_callback); if (!n) printf("Found in sources, but not in symbol file: %s\\n", symbols_from_source[j].name); } |