plan 9 kernel history: overview | file list | diff list

1992/0912/boot/settime.c (diff list | history)

1992/0909/sys/src/9/boot/settime.c:40,491992/0912/sys/src/9/boot/settime.c:40,50 (short | long | prev | next)
1992/0909    
		f = open(timeserver, ORDWR); 
1992/0318    
		if(f < 0) 
			return; 
1992/0325    
		if(mount(f, "/n/boot", MREPL, "", sauth) < 0){ 
1992/0318    
			close(f); 
			return; 
		} 
1992/0912    
		if(mount(f, "/n/boot", MREPL, "", sauth) < 0) 
			if(mount(f, "/n/boot", MREPL, "", "any") < 0){ 
				close(f); 
				return; 
			} 
1992/0318    
		close(f); 
		if(stat("/n/boot", dirbuf) < 0) 
			fatal("stat"); 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)