shithub: riscv

Download patch

ref: 40622a0fb39659d0a36c35b0335c3fdf189f8579
parent: c10be29c773737c4159b613f4f6c3b5a90d732f6
author: cinap_lenrek <[email protected]>
date: Fri Dec 23 08:57:50 EST 2022

aux/timesync: don't bind #r twice (already done in inittime())

--- a/sys/src/cmd/aux/timesync.c
+++ b/sys/src/cmd/aux/timesync.c
@@ -308,7 +308,6 @@
 		close(fd);
 		break;
 	case Rtc:
-		bind("#r", "/dev", MAFTER);
 		if(access("/dev/rtc", AREAD) < 0)
 			sysfatal("accessing /dev/rtc: %r");
 		break;