summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/timers/adjtick.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2022-07-13 23:46:14 +0300
committerShuah Khan <skhan@linuxfoundation.org>2022-07-14 23:36:07 +0300
commita8d74fe7fed55fe53066dca66708273f3dd9bb2f (patch)
treeed5d2463c00be2a9b7ad821361daac44d6d5ae64 /tools/testing/selftests/timers/adjtick.c
parent9a162977d20436be5678a8e21a8e58eb4616d86a (diff)
downloadlinux-a8d74fe7fed55fe53066dca66708273f3dd9bb2f.tar.xz
selftests: timers: fix declarations of main()
Mixing up argc/argv went unnoticed because they were not used. Still, this is worth fixing. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: John Stultz <jstultz@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/timers/adjtick.c')
-rw-r--r--tools/testing/selftests/timers/adjtick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/timers/adjtick.c b/tools/testing/selftests/timers/adjtick.c
index 54d8d87f36b3..47e05fdc32c5 100644
--- a/tools/testing/selftests/timers/adjtick.c
+++ b/tools/testing/selftests/timers/adjtick.c
@@ -165,7 +165,7 @@ int check_tick_adj(long tickval)
return 0;
}
-int main(int argv, char **argc)
+int main(int argc, char **argv)
{
struct timespec raw;
long tick, max, interval, err;