From cfd3e0a5a5209ff258bb2f9b78e80e74e5d235a7 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 2 Oct 1997 04:30:24 +0000 Subject: better 'machine di' table; toddf@ --- sys/arch/i386/stand/libsa/cmd_i386.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/i386/stand/libsa/cmd_i386.c b/sys/arch/i386/stand/libsa/cmd_i386.c index b9efdb414fc..084ce815521 100644 --- a/sys/arch/i386/stand/libsa/cmd_i386.c +++ b/sys/arch/i386/stand/libsa/cmd_i386.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd_i386.c,v 1.7 1997/09/26 18:07:12 mickey Exp $ */ +/* $OpenBSD: cmd_i386.c,v 1.8 1997/10/02 04:30:23 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff, Tobias Weingartner @@ -54,10 +54,10 @@ Xdiskinfo() u_int32_t di; int i; - printf("Disk\tCylinders Tracks\tSectors\n"); + printf("Disk\tCylinders\tTracks\tSectors\n"); for(i = 0x80; i < 0x84; i++){ if ((di = biosdinfo(i))) - printf("0x%02x\t%9d %d\t%d\n", i, + printf("0x%x\t %d \t%d\t%d\n", i, BIOSNTRACKS(di), BIOSNHEADS(di), BIOSNSECTS(di)); } -- cgit v1.2.3