diff options
Diffstat (limited to 'toys/other/hwclock.c')
-rw-r--r-- | toys/other/hwclock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/hwclock.c b/toys/other/hwclock.c index a6db923a..541c70a3 100644 --- a/toys/other/hwclock.c +++ b/toys/other/hwclock.c @@ -84,5 +84,5 @@ void hwclock_main() if (settimeofday(&timeval, &tzone)) perror_exit("settimeofday failed"); } - if (fd != -1) close(fd); + xclose(fd); } |