summaryrefslogtreecommitdiff
path: root/sbin/fdisk/part.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-07-01 21:49:13 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-07-01 21:49:13 +0000
commit32c1b4a0cd08b9a3834d0dd62a23d302d7e18a0e (patch)
treeb138e08e07b5c171370d3e3bf64730bcbbd3c88e /sbin/fdisk/part.h
parent98c6903a9c867b13b04b71235196f2fe74bc1742 (diff)
be more verbose when warning for partition errors,
print partition number in the message.
Diffstat (limited to 'sbin/fdisk/part.h')
-rw-r--r--sbin/fdisk/part.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/fdisk/part.h b/sbin/fdisk/part.h
index 073b6ac57f9..4ecd5558a06 100644
--- a/sbin/fdisk/part.h
+++ b/sbin/fdisk/part.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: part.h,v 1.5 1998/09/14 03:54:35 rahnds Exp $ */
+/* $OpenBSD: part.h,v 1.6 2000/07/01 21:49:12 mickey Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -46,15 +46,15 @@ typedef struct _prt_t {
/* Prototypes */
void PRT_printall __P((void));
char *PRT_ascii_id __P((int));
-void PRT_parse __P((disk_t *, void *, off_t, off_t, prt_t *));
+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 *));
/* This does CHS -> bs/ns */
-void PRT_fix_BN __P((disk_t *, prt_t *));
+void PRT_fix_BN __P((disk_t *, prt_t *, int));
/* This does bs/ns -> CHS */
-void PRT_fix_CHS __P((disk_t *, prt_t *));
+void PRT_fix_CHS __P((disk_t *, prt_t *, int));
#endif _PART_H