Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/pmax/stand/lib pull up 1.2->1.3 to fix error h...



details:   https://anonhg.NetBSD.org/src/rev/5446b335ef13
branches:  netbsd-1-4
changeset: 468371:5446b335ef13
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Apr 19 15:31:51 1999 +0000

description:
pull up 1.2->1.3 to fix error handling (req. by drochner)

diffstat:

 sys/arch/pmax/stand/lib/loadfile.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 5775682b5f94 -r 5446b335ef13 sys/arch/pmax/stand/lib/loadfile.c
--- a/sys/arch/pmax/stand/lib/loadfile.c        Mon Apr 19 15:30:25 1999 +0000
+++ b/sys/arch/pmax/stand/lib/loadfile.c        Mon Apr 19 15:31:51 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: loadfile.c,v 1.2 1999/03/25 03:38:53 simonb Exp $ */
+/* $NetBSD: loadfile.c,v 1.2.2.1 1999/04/19 15:31:51 perry Exp $ */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -165,9 +165,10 @@
                WARN(("%s", fname));
        }
 
-       if (rval == 0)
+       if (rval == 0) {
                PROGRESS(("=0x%lx\n", marks[MARK_END] - marks[MARK_START]));
-       return fd;
+               return fd;
+       }
 err:
        (void)close(fd);
        return -1;



Home | Main Index | Thread Index | Old Index