summaryrefslogtreecommitdiff
path: root/sbin/fdisk/user.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2014-03-17 13:15:45 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2014-03-17 13:15:45 +0000
commitc06e97728c2f69e22797fa181fcafc9dd199338d (patch)
treeeca8dfbcae8ec140c5fd82e36af004deef0b2543 /sbin/fdisk/user.c
parent6fcac5f3bcc59000954b5b6583422bafbb40dd72 (diff)
Un-revert, being careful to not break snap building. Add paranoia check
for any missing geometry.
Diffstat (limited to 'sbin/fdisk/user.c')
-rw-r--r--sbin/fdisk/user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fdisk/user.c b/sbin/fdisk/user.c
index ea499c278b8..ba52bd9c16d 100644
--- a/sbin/fdisk/user.c
+++ b/sbin/fdisk/user.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: user.c,v 1.31 2014/03/14 15:41:33 krw Exp $ */
+/* $OpenBSD: user.c,v 1.32 2014/03/17 13:15:44 krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -169,7 +169,7 @@ USER_print_disk(struct disk *disk)
fd = DISK_open(disk->name, O_RDONLY);
offset = firstoff = 0;
- DISK_printmetrics(disk, NULL);
+ DISK_printgeometry(disk, NULL);
do {
error = MBR_read(fd, offset, &dos_mbr);