| plan 9 kernel history: overview | file list | diff list |
1993/0330/boot/settime.c (diff list | history)
| 1992/0912/sys/src/9/boot/settime.c:1,5 – 1993/0330/sys/src/9/boot/settime.c:1,6 (short | long | prev | next) | ||
| 1992/0318 | #include <u.h> #include <libc.h> | |
| 1993/0330 | #include <auth.h> | |
| 1992/0318 | #include <fcall.h> #include "../boot/boot.h" | |
| 1992/0912/sys/src/9/boot/settime.c:40,50 – 1993/0330/sys/src/9/boot/settime.c:41,51 | ||
| 1992/0909 | f = open(timeserver, ORDWR); | |
| 1992/0318 | if(f < 0) return; | |
| 1992/0912 |
| |
| 1993/0330 | if(mount(f, "/n/boot", MREPL, "") < 0){ warning("settime mount"); close(f); return; } | |
| 1992/0318 | close(f); if(stat("/n/boot", dirbuf) < 0) fatal("stat"); | |