summaryrefslogtreecommitdiff
path: root/sbin/fdisk/part.h
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2002-01-18 08:38:27 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2002-01-18 08:38:27 +0000
commit7598f41630e91a2ab9de9e4ef1f14f7f1e311e40 (patch)
treecfac9ede494d0071811937f4993f29e30d4a47ac /sbin/fdisk/part.h
parent3e97ac4c2b74886909fff64ecfda1d924d59d547 (diff)
Allow size values to be displayed in the user's choice of units.
Idea borrowed from disklabel. i.e. Users can now type "print M" and be rewarded with partition sizes in Megs
Diffstat (limited to 'sbin/fdisk/part.h')
-rw-r--r--sbin/fdisk/part.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fdisk/part.h b/sbin/fdisk/part.h
index 164dbf3a2a3..965a6d6d2ce 100644
--- a/sbin/fdisk/part.h
+++ b/sbin/fdisk/part.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: part.h,v 1.8 2001/08/12 12:03:01 heko Exp $ */
+/* $OpenBSD: part.h,v 1.9 2002/01/18 08:38:26 kjell Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -48,7 +48,7 @@ void PRT_printall __P((void));
const char *PRT_ascii_id __P((int));
void PRT_parse __P((disk_t *, void *, off_t, off_t, prt_t *, int));
void PRT_make __P((prt_t *, off_t, off_t, void *));
-void PRT_print __P((int, prt_t *));
+void PRT_print __P((int, prt_t *, char *));
/* This does CHS -> bs/ns */
void PRT_fix_BN __P((disk_t *, prt_t *, int));