svn commit: r224618 - head/sys/powerpc/booke

Marcel Moolenaar marcel at FreeBSD.org
Tue Aug 2 23:49:23 UTC 2011


Author: marcel
Date: Tue Aug  2 23:49:23 2011
New Revision: 224618
URL: http://svn.freebsd.org/changeset/base/224618

Log:
  Cross a T and dot an I:
  o   Fix awkward use of braces in combination with mis-indentation.
      A mistake, that happened to yield the right behaviour?
  o   Fix typo in comment.
  
  No functional change.
  
  Approved by:	re (blanket)

Modified:
  head/sys/powerpc/booke/platform_bare.c

Modified: head/sys/powerpc/booke/platform_bare.c
==============================================================================
--- head/sys/powerpc/booke/platform_bare.c	Tue Aug  2 23:33:44 2011	(r224617)
+++ head/sys/powerpc/booke/platform_bare.c	Tue Aug  2 23:49:23 2011	(r224618)
@@ -178,13 +178,14 @@ bare_timebase_freq(platform_t plat, stru
 	phandle_t cpus, child;
 	pcell_t freq;
 
-	if (bootinfo != NULL)
+	if (bootinfo != NULL) {
 		if (bootinfo[0] == 1) {
 			/* Backward compatibility. See 8-STABLE. */
 			ticks = bootinfo[3] >> 3;
 		} else {
-			/* Compatbility with Juniper's loader. */
+			/* Compatibility with Juniper's loader. */
 			ticks = bootinfo[5] >> 3;
+		}
 	} else
 		ticks = 0;
 


More information about the svn-src-all mailing list