sparse pointer use of zero as null
[safe/jmp/linux-2.6] / arch / x86 / kernel / vsyscall_64.c
index cf7a47b..585541c 100644 (file)
@@ -172,7 +172,7 @@ time_t __vsyscall(1) vtime(time_t *t)
        if (unlikely(!__vsyscall_gtod_data.sysctl_enabled))
                return time_syscall(t);
 
-       vgettimeofday(&tv, 0);
+       vgettimeofday(&tv, NULL);
        result = tv.tv_sec;
        if (t)
                *t = result;