diff options
author | Tom Cosgrove <tom@cvs.openbsd.org> | 2004-07-13 06:00:34 +0000 |
---|---|---|
committer | Tom Cosgrove <tom@cvs.openbsd.org> | 2004-07-13 06:00:34 +0000 |
commit | 30a9e9f9156ebe106320e06b1c50230c987cdbdc (patch) | |
tree | 7498995a505bb2c1b2744a094cb2275974ab893f /sbin/fdisk/cmd.c | |
parent | ced9d22e70ef6f6b46e5b42c878bdf47b6c86196 (diff) |
Remove unused argument 'int pn' to PRT_fix_CHS(). The 'int pn'
argument to PRT_parse() then becomes unused, so remove that too.
ok henning@, otto@
Diffstat (limited to 'sbin/fdisk/cmd.c')
-rw-r--r-- | sbin/fdisk/cmd.c | 6 |
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); |