Module Name: src Committed By: ozaki-r Date: Fri Mar 28 13:35:13 UTC 2014
Modified Files: src/sys/arch/atari/stand/ahdilabel: ahdilabel.c Log Message: Fix; cts[0] => cts To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/atari/stand/ahdilabel/ahdilabel.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/atari/stand/ahdilabel/ahdilabel.c diff -u src/sys/arch/atari/stand/ahdilabel/ahdilabel.c:1.9 src/sys/arch/atari/stand/ahdilabel/ahdilabel.c:1.10 --- src/sys/arch/atari/stand/ahdilabel/ahdilabel.c:1.9 Wed Mar 26 18:04:33 2014 +++ src/sys/arch/atari/stand/ahdilabel/ahdilabel.c Fri Mar 28 13:35:13 2014 @@ -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 @@ change_part (struct ahdi_ptable *ptable, } 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);