diff options
-rw-r--r-- | usr.bin/date/date.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/date/date.c b/usr.bin/date/date.c index ab26c4c..8c4a9d1 100644 --- a/usr.bin/date/date.c +++ b/usr.bin/date/date.c @@ -107,6 +107,7 @@ main(int argc, char **argv) error = set_time(rtc_fd, &d, argv[1]); if (error < 0) printf("bad time specified, not set\n"); + read(rtc_fd, &d, sizeof(d)); } close(rtc_fd); |