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 Fix; cts[0] => cts



details:   https://anonhg.NetBSD.org/src/rev/6519cede6350
branches:  trunk
changeset: 328159:6519cede6350
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Fri Mar 28 13:35:13 2014 +0000

description:
Fix; cts[0] => cts

diffstat:

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

diffs (18 lines):

diff -r d23e04ee9f04 -r 6519cede6350 sys/arch/atari/stand/ahdilabel/ahdilabel.c
--- a/sys/arch/atari/stand/ahdilabel/ahdilabel.c        Fri Mar 28 13:26:24 2014 +0000
+++ b/sys/arch/atari/stand/ahdilabel/ahdilabel.c        Fri Mar 28 13:35:13 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ahdilabel.c,v 1.9 2014/03/26 18:04:33 christos Exp $ */
+/* $NetBSD: ahdilabel.c,v 1.10 2014/03/28 13:35:13 ozaki-r Exp $ */
 
 /*
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -402,7 +402,7 @@
        }
 
        printf ("size [%8u (%s) (%4uM)] ", ptable->parts[part].size,
-           sec_to_cts (ptable, ptable->parts[part].size, cts[0], sizeof(cts)),
+           sec_to_cts (ptable, ptable->parts[part].size, cts, sizeof(cts)),
            (ptable->parts[part].size + (BLPM >> 1)) / BLPM);
        if (get_input (&buf[0], BUFLEN)) {
                sector = read_sector (ptable, buf, part, PART_END);



Home | Main Index | Thread Index | Old Index