summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-10-19 23:58:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-10-19 23:58:51 +0000
commit24c8463a1e3b2d7ee368900c148f0cc05e94c06d (patch)
tree4ab8215c4393a7da3b47d37ca48e1d5fe8b3a4bf /sbin
parentb5fa995848dad7efa5a835c2fe909a1afe3ef1d4 (diff)
when we reinit, show what we did
Diffstat (limited to 'sbin')
-rw-r--r--sbin/fdisk/cmd.c6
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);