diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-10-19 23:58:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-10-19 23:58:51 +0000 |
commit | 24c8463a1e3b2d7ee368900c148f0cc05e94c06d (patch) | |
tree | 4ab8215c4393a7da3b47d37ca48e1d5fe8b3a4bf /sbin | |
parent | b5fa995848dad7efa5a835c2fe909a1afe3ef1d4 (diff) |
when we reinit, show what we did
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/fdisk/cmd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/fdisk/cmd.c b/sbin/fdisk/cmd.c index 0894a4a375a..3b3f67a0911 100644 --- a/sbin/fdisk/cmd.c +++ b/sbin/fdisk/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.12 1997/10/19 23:37:25 deraadt Exp $ */ +/* $OpenBSD: cmd.c,v 1.13 1997/10/19 23:58:50 deraadt Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -80,7 +80,9 @@ Xreinit(cmd, disk, mbr, tt, offset) PRT_fix_BN(disk, &mbr->part[3]); /* Tell em we did something */ - printf("In memory copy is initialized.\n"); + printf("In memory copy is initialized to:\n"); + printf("Offset: %d\t", offset); + MBR_print(mbr); printf("Use 'write' to update disk.\n"); return (CMD_DIRTY); |