summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorFederico Giovanardi <federico.giovanardi@cnhind.com>2024-11-19 09:55:07 +0100
committerFederico Giovanardi <federico.giovanardi@cnhind.com>2024-11-19 09:55:07 +0100
commit0c851a58f7204c11183efb6bc22f7c01ccb907eb (patch)
treeae409939a8f2fe7510d62c8a1a6a9dd8fbdde28e /src/test
parenttest: fix generate-sym-test using the wrong array (diff)
downloadsystemd-0c851a58f7204c11183efb6bc22f7c01ccb907eb.tar.xz
systemd-0c851a58f7204c11183efb6bc22f7c01ccb907eb.zip
style: Fix formatting
Diffstat (limited to 'src/test')
-rwxr-xr-xsrc/test/generate-sym-test.py4
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);
}