summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/timers/raw_skew.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/raw_skew.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/raw_skew.c')
-rw-r--r--tools/testing/selftests/timers/raw_skew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/timers/raw_skew.c b/tools/testing/selftests/timers/raw_skew.c
index b41d8dd0c40c..5beceeed0d11 100644
--- a/tools/testing/selftests/timers/raw_skew.c
+++ b/tools/testing/selftests/timers/raw_skew.c
@@ -89,7 +89,7 @@ void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw)
}
}
-int main(int argv, char **argc)
+int main(int argc, char **argv)
{
struct timespec mon, raw, start, end;
long long delta1, delta2, interval, eppm, ppm;