Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/stand/bootblock/elf2bb One more style. No bin...



details:   https://anonhg.NetBSD.org/src/rev/be3ca1fbf357
branches:  trunk
changeset: 365805:be3ca1fbf357
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Apr 25 15:48:57 2022 +0000

description:
One more style. No binary changes.

diffstat:

 sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r ec24edef9181 -r be3ca1fbf357 sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
--- a/sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c    Mon Apr 25 15:37:14 2022 +0000
+++ b/sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c    Mon Apr 25 15:48:57 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf2bb.c,v 1.27 2022/04/25 14:46:38 rin Exp $  */
+/*     $NetBSD: elf2bb.c,v 1.28 2022/04/25 15:48:57 rin Exp $  */
 
 /*-
  * Copyright (c) 1996,2006 The NetBSD Foundation, Inc.
@@ -431,9 +431,9 @@
        *rpo = 0; rpo += delta;
        *rpo = 0; rpo += delta;
 
-       printf("using %td bytes, %td bytes remaining.\n", delta > 0 ?
-           rpo-buffer-tsz-dsz : buffer+bbsize-rpo, delta > 0 ?
-           buffer + bbsize - rpo : rpo - buffer - tsz - dsz);
+       printf("using %td bytes, %td bytes remaining.\n",
+           delta > 0 ? rpo - buffer - tsz - dsz : buffer + bbsize - rpo,
+           delta > 0 ? buffer + bbsize - rpo : rpo - buffer - tsz - dsz);
        /*
         * RELOCs must fit into the bss area.
         */



Home | Main Index | Thread Index | Old Index