svn commit: r333208 - head/sys/amd64/amd64

Konstantin Belousov kib at FreeBSD.org
Thu May 3 10:17:37 UTC 2018


Author: kib
Date: Thu May  3 10:17:37 2018
New Revision: 333208
URL: https://svnweb.freebsd.org/changeset/base/333208

Log:
  Style.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	3 days
  Differential revision:	https://reviews.freebsd.org/D13838

Modified:
  head/sys/amd64/amd64/elf_machdep.c

Modified: head/sys/amd64/amd64/elf_machdep.c
==============================================================================
--- head/sys/amd64/amd64/elf_machdep.c	Thu May  3 08:17:12 2018	(r333207)
+++ head/sys/amd64/amd64/elf_machdep.c	Thu May  3 10:17:37 2018	(r333208)
@@ -219,7 +219,6 @@ elf_reloc_internal(linker_file_t lf, Elf_Addr relocbas
 	}
 
 	switch (rtype) {
-
 		case R_X86_64_NONE:	/* none */
 			break;
 
@@ -260,7 +259,7 @@ elf_reloc_internal(linker_file_t lf, Elf_Addr relocbas
 			 * objects.
 			 */
 			printf("kldload: unexpected R_COPY relocation\n");
-			return -1;
+			return (-1);
 			break;
 
 		case R_X86_64_GLOB_DAT:	/* S */
@@ -282,9 +281,9 @@ elf_reloc_internal(linker_file_t lf, Elf_Addr relocbas
 		default:
 			printf("kldload: unexpected relocation type %ld\n",
 			       rtype);
-			return -1;
+			return (-1);
 	}
-	return(0);
+	return (0);
 }
 
 int


More information about the svn-src-head mailing list