]> git.ipfire.org Git - thirdparty/kmod.git/commit
testsuite: simplify syscall number handling
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 8 Jul 2025 12:38:58 +0000 (07:38 -0500)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 11 Jul 2025 15:31:51 +0000 (10:31 -0500)
commit5d845ab29ac2c335d3061eae050f5d8686b73980
tree5bd1825ba4a06c533ad49062e1e830da0894b022
parent84db2f930f866e70b040000acb276d5621c6bd51
testsuite: simplify syscall number handling

Use a switch() statement for syscall override handling, making it a
little bit less verbose.

Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/387
testsuite/init_module.c