Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x68k/stand/libsa set current_id properly.



details:   https://anonhg.NetBSD.org/src/rev/76e2a3012f8a
branches:  trunk
changeset: 516086:76e2a3012f8a
user:      minoura <minoura%NetBSD.org@localhost>
date:      Mon Oct 15 16:07:20 2001 +0000

description:
set current_id properly.

diffstat:

 sys/arch/x68k/stand/libsa/sdcd.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 0b83f877f60a -r 76e2a3012f8a sys/arch/x68k/stand/libsa/sdcd.c
--- a/sys/arch/x68k/stand/libsa/sdcd.c  Mon Oct 15 13:44:47 2001 +0000
+++ b/sys/arch/x68k/stand/libsa/sdcd.c  Mon Oct 15 16:07:20 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdcd.c,v 1.2 2001/09/29 03:50:13 minoura Exp $ */
+/*     $NetBSD: sdcd.c,v 1.3 2001/10/15 16:07:20 minoura Exp $ */
 
 /*
  * Copyright (c) 2001 MINOURA Makoto.
@@ -144,7 +144,7 @@
                }
                current_npart = label->d_npartitions;
 
-               return 0;
+               goto done;
        }
 
        /* Try Human68K-style partition table */
@@ -174,6 +174,7 @@
                        current_npart++;
                }
        }
+done:
 #ifdef DEBUG
        for (i = 0; i < current_npart; i++) {
                printf ("%d: starts %d, size %d\n", i,



Home | Main Index | Thread Index | Old Index