From: Randy Dunlap <[EMAIL PROTECTED]> Use NULL instead of 0 for pointer: arch/x86_64/kernel/vsyscall.c:183:21: warning: Using plain integer as NULL pointer
Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> --- arch/x86_64/kernel/vsyscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.22-rc3-git7.orig/arch/x86_64/kernel/vsyscall.c +++ linux-2.6.22-rc3-git7/arch/x86_64/kernel/vsyscall.c @@ -180,7 +180,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; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/