diff options
| author | Dmitry Chagin <dchagin@FreeBSD.org> | 2020-02-04 05:23:34 +0000 |
|---|---|---|
| committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2020-02-04 05:23:34 +0000 |
| commit | 2506c76121da2863fb10de5b194b4e65b6c382b5 (patch) | |
| tree | be5f9910e23796e03513a23e592a3609b591ec4e /sys | |
| parent | bc6509845d454643cd65f0d640ed4412ecfcee2a (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/compat/linux/linux_time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_time.c b/sys/compat/linux/linux_time.c index ad3f7ad5c614..246b5e85a2cb 100644 --- a/sys/compat/linux/linux_time.c +++ b/sys/compat/linux/linux_time.c @@ -253,7 +253,7 @@ linux_clock_gettime(struct thread *td, struct linux_clock_gettime_args *args) struct thread *targettd; struct proc *p; int error, clockwhich; - clockid_t nwhich = 0; /* XXX: GCC */ + clockid_t nwhich; pid_t pid; lwpid_t tid; @@ -382,7 +382,7 @@ linux_clock_settime(struct thread *td, struct linux_clock_settime_args *args) struct timespec ts; struct l_timespec lts; int error; - clockid_t nwhich = 0; /* XXX: GCC */ + clockid_t nwhich; LIN_SDT_PROBE2(time, linux_clock_settime, entry, args->which, args->tp); @@ -422,7 +422,7 @@ linux_clock_getres(struct thread *td, struct linux_clock_getres_args *args) struct timespec ts; struct l_timespec lts; int error, clockwhich; - clockid_t nwhich = 0; /* XXX: GCC */ + clockid_t nwhich; pid_t pid; lwpid_t tid; |
