diff --git a/lib/posix/clock.c b/lib/posix/clock.c index e2f96aba22b..1a0ff64d756 100644 --- a/lib/posix/clock.c +++ b/lib/posix/clock.c @@ -98,7 +98,7 @@ int gettimeofday(struct timeval *tv, const void *tz) /* As per POSIX, "if tzp is not a null pointer, the behavior * is unspecified." "tzp" is the "tz" parameter above. */ - ARG_UNUSED(tv); + ARG_UNUSED(tz); res = clock_gettime(CLOCK_REALTIME, &ts); tv->tv_sec = ts.tv_sec;