summaryrefslogtreecommitdiff
path: root/sbin/fdisk/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/fdisk/cmd.c')
-rw-r--r--sbin/fdisk/cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fdisk/cmd.c b/sbin/fdisk/cmd.c
index 3e217e09cc2..735f2e64d10 100644
--- a/sbin/fdisk/cmd.c
+++ b/sbin/fdisk/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.34 2004/06/22 23:01:55 tom Exp $ */
+/* $OpenBSD: cmd.c,v 1.35 2004/07/13 06:00:33 tom Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -150,7 +150,7 @@ Xedit(cmd_t *cmd, disk_t *disk, mbr_t *mbr, mbr_t *tt, int offset)
/* Fix up off/size values */
PRT_fix_BN(disk, pp, pn);
/* Fix up CHS values for LBA */
- PRT_fix_CHS(disk, pp, pn);
+ PRT_fix_CHS(disk, pp);
} else {
u_int m;
@@ -171,7 +171,7 @@ Xedit(cmd_t *cmd, disk_t *disk, mbr_t *mbr, mbr_t *tt, int offset)
DO_ROUNDING : 0));
/* Fix up CHS values */
- PRT_fix_CHS(disk, pp, pn);
+ PRT_fix_CHS(disk, pp);
}
#undef EDIT
return (ret);