Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/stand/ahdilabel Add initialization of xgmsec, ...



details:   https://anonhg.NetBSD.org/src/rev/1100afe87321
branches:  trunk
changeset: 581937:1100afe87321
user:      he <he%NetBSD.org@localhost>
date:      Fri Jun 10 22:08:39 2005 +0000

description:
Add initialization of xgmsec, the assignment to it apparently depends
on the value in one of the data structures passed as arguments.

diffstat:

 sys/arch/atari/stand/ahdilabel/write.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 1b542d4ac308 -r 1100afe87321 sys/arch/atari/stand/ahdilabel/write.c
--- a/sys/arch/atari/stand/ahdilabel/write.c    Fri Jun 10 22:00:52 2005 +0000
+++ b/sys/arch/atari/stand/ahdilabel/write.c    Fri Jun 10 22:08:39 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: write.c,v 1.2 2001/02/25 14:33:19 jdc Exp $    */
+/*     $NetBSD: write.c,v 1.3 2005/06/10 22:08:39 he Exp $     */
 
 /*
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -105,6 +105,7 @@
         /* All partitions in root sector (including first XGM) */
        j = 0;
        firstxgm = 0;
+       xgmsec = 0;
        for (i = 0; i < ptable->nparts; i++) {
                if (ptable->parts[i].root == 0) {
 #ifdef DEBUG



Home | Main Index | Thread Index | Old Index