projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b73451d
)
Minor cleanup from Garrett Kajmowicz.
author
Rob Landley
<rob@landley.net>
Sat, 25 Feb 2006 03:36:00 +0000
(
03:36
-0000)
committer
Rob Landley
<rob@landley.net>
Sat, 25 Feb 2006 03:36:00 +0000
(
03:36
-0000)
util-linux/fdisk.c
patch
|
blob
|
history
diff --git
a/util-linux/fdisk.c
b/util-linux/fdisk.c
index 33ad84702852997e726d2e50988197e2b6e5e5a2..a64515598bb91e33fc1c00c1de13c4cc61fdbdee 100644
(file)
--- 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;