summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_time.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-05-14 03:40:02 +0000
committerchristos <christos@NetBSD.org>2006-05-14 03:40:02 +0000
commitca0ec852e655e99d75edea23a8ec3a4a5d7bae2b (patch)
tree14227f1efaae3e562d6c935823f478e6e02aedd9 /sys/compat/linux/common/linux_time.c
parentef47ce826459b040fa8a7e7a49cb5e54c340680e (diff)
XXX: GCC uninitialized
Diffstat (limited to 'sys/compat/linux/common/linux_time.c')
-rw-r--r--sys/compat/linux/common/linux_time.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/compat/linux/common/linux_time.c b/sys/compat/linux/common/linux_time.c
index 7cd5f0d3638..3fdd0fa614a 100644
--- a/sys/compat/linux/common/linux_time.c
+++ b/sys/compat/linux/common/linux_time.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_time.c,v 1.13 2005/12/11 12:20:19 christos Exp $ */
+/* $NetBSD: linux_time.c,v 1.14 2006/05/14 03:40:54 christos Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_time.c,v 1.13 2005/12/11 12:20:19 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_time.c,v 1.14 2006/05/14 03:40:54 christos Exp $");
#include <sys/param.h>
#include <sys/ucred.h>
@@ -189,7 +189,7 @@ linux_sys_clock_gettime(l, v, retval)
struct timespec *tp, ts;
struct linux_timespec lts;
int error;
- clockid_t nwhich;
+ clockid_t nwhich = 0; /* XXX: GCC */
struct sys_clock_gettime_args sga;
error = linux_to_native_clockid(&nwhich, SCARG(uap, which));
@@ -229,7 +229,7 @@ linux_sys_clock_settime(l, v, retval)
struct timespec *tp, ts;
struct linux_timespec lts;
int error;
- clockid_t nwhich;
+ clockid_t nwhich = 0; /* XXX: GCC */
struct sys_clock_settime_args sta;
error = linux_to_native_clockid(&nwhich, SCARG(uap, which));
@@ -269,7 +269,7 @@ linux_sys_clock_getres(l, v, retval)
struct timespec *tp, ts;
struct linux_timespec lts;
int error;
- clockid_t nwhich;
+ clockid_t nwhich = 0; /* XXX: GCC */
struct sys_clock_gettime_args sga;
error = linux_to_native_clockid(&nwhich, SCARG(uap, which));