git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix gcc ident pragma warnings
[zfs.git]
/
lib
/
libefi
/
include
/
sys
/
efi_partition.h
diff --git
a/lib/libefi/include/sys/efi_partition.h
b/lib/libefi/include/sys/efi_partition.h
index
4ffa422
..
ff38df5
100644
(file)
--- a/
lib/libefi/include/sys/efi_partition.h
+++ b/
lib/libefi/include/sys/efi_partition.h
@@
-218,7
+218,11
@@
struct partition64 {
/*
* Number of EFI partitions
*/
+#if defined(__linux__)
+#define EFI_NUMPAR 128 /* Expected by parted-1.8.1 */
+#else
#define EFI_NUMPAR 9
+#endif
#ifndef _KERNEL
extern int efi_alloc_and_init(int, uint32_t, struct dk_gpt **);