Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/freebsd KNF.



details:   https://anonhg.NetBSD.org/src/rev/0e6c7c9342b7
branches:  trunk
changeset: 516426:0e6c7c9342b7
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Oct 23 16:43:33 2001 +0000

description:
KNF.

diffstat:

 sys/compat/freebsd/freebsd_exec_elf32.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 55d4b7cadcbd -r 0e6c7c9342b7 sys/compat/freebsd/freebsd_exec_elf32.c
--- a/sys/compat/freebsd/freebsd_exec_elf32.c   Tue Oct 23 16:41:36 2001 +0000
+++ b/sys/compat/freebsd/freebsd_exec_elf32.c   Tue Oct 23 16:43:33 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: freebsd_exec_elf32.c,v 1.3 2001/10/23 16:41:36 christos Exp $  */
+/*     $NetBSD: freebsd_exec_elf32.c,v 1.4 2001/10/23 16:43:33 christos Exp $  */
 
 /*
  * Copyright (c) 1993, 1994 Christopher G. Demetriou
@@ -71,9 +71,9 @@
 #define EI_BRAND 8
 #endif
         if (eh->e_ident[EI_BRAND] == '\0'
-                       || strcmp(&eh->e_ident[EI_BRAND], wantBrand))
-                       if (eh->e_ident[EI_OSABI] != ELFOSABI_FREEBSD)
-                               return ENOEXEC;
+           || strcmp(&eh->e_ident[EI_BRAND], wantBrand))
+               if (eh->e_ident[EI_OSABI] != ELFOSABI_FREEBSD)
+                       return ENOEXEC;
 
        i = eh->e_phnum;
        if (i != 0) {



Home | Main Index | Thread Index | Old Index