summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/fdisk.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index 33ad847..a645155 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -37,8 +37,6 @@
#include "busybox.h"
-#define MAKE_VERSION(p,q,r) (65536*(p) + 256*(q) + (r))
-
#define DKTYPENAMES
#define BLKRRPART _IO(0x12,95) /* re-read partition table */
@@ -3977,8 +3975,7 @@ create_doslabel(void)
static void
get_sectorsize(void)
{
- if (!user_set_sector_size
- && get_kernel_revision() >= MAKE_VERSION(2,3,3)) {
+ if (!user_set_sector_size) {
int arg;
if (ioctl(fd, BLKSSZGET, &arg) == 0)
sector_size = arg;