Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2002 11:46:20 -0800 (PST)
From:      Thomas Moestl <tmm@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 9046 for review
Message-ID:  <200204041946.g34JkKj30049@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=9046

Change 9046 by tmm@tmm_sparc64 on 2002/04/04 11:45:23

	Fix a bit of inverted logic, and a stylo.

Affected files ...

... //depot/projects/sparc64/sys/kern/subr_clock.c#3 edit

Differences ...

==== //depot/projects/sparc64/sys/kern/subr_clock.c#3 (text+ko) ====

@@ -223,13 +223,13 @@
 				    "time-of-day clock: clock %s has higher "
 				    "resolution\n", device_get_name(clock_dev));
 			}
+			return;
 		} else {
 			if (bootverbose) {
 				device_printf(clock_dev, "removed as "
 				    "time-of-day clock: clock %s has higher "
 				    "resolution\n", device_get_name(dev));
 			}
-			return;
 		}
 	}
 	clock_dev = dev;
@@ -277,7 +277,7 @@
 		printf("Invalid time in real time clock.\n");
 		printf("Check and reset the date immediately!\n");
 	}
-	
+
 	ts.tv_sec += tz.tz_minuteswest * 60 +
 	    (wall_cmos_clock ? adjkerntz : 0);
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204041946.g34JkKj30049>