diff --git a/sys/arch/hp300/stand/inst/inst.c b/sys/arch/hp300/stand/inst/inst.c index 3b13941c84b1..868acdacd0eb 100644 --- a/sys/arch/hp300/stand/inst/inst.c +++ b/sys/arch/hp300/stand/inst/inst.c @@ -1,4 +1,4 @@ -/* $NetBSD: inst.c,v 1.18 2008/07/16 13:44:51 tsutsui Exp $ */ +/* $NetBSD: inst.c,v 1.19 2014/06/21 02:01:21 tsutsui Exp $ */ /*- * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc. @@ -485,8 +485,8 @@ disklabel_show(struct disklabel *lp) printf(" size offset\n"); pp = lp->d_partitions; for (i = 0; i < lp->d_npartitions; i++) { - printf("%c: %d, %d\n", 97 + i, lp->d_partitions[i].p_size, - lp->d_partitions[i].p_offset); + printf("%c: %d, %d\n", 'a' + i, pp[i].p_size, + pp[i].p_offset); } printf("\n"); }