On Sun, May 06, 2012 at 02:10:16PM +0200, Davidlohr Bueso wrote: > From: Davidlohr Bueso <dave@xxxxxxx> > > Signed-off-by: Davidlohr Bueso <dave@xxxxxxx> > --- > fdisk/fdisk.c | 2 -- > 1 files changed, 0 insertions(+), 2 deletions(-) > > diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c > index dccaf27..3543745 100644 > --- a/fdisk/fdisk.c > +++ b/fdisk/fdisk.c > @@ -68,8 +68,6 @@ int MBRbuffer_changed; > #define sector(s) ((s) & 0x3f) > #define cylinder(s, c) ((c) | (((s) & 0xc0) << 2)) > > -#define hsc2sector(h,s,c) (sector(s) - 1 + sectors * \ > - ((h) + heads * cylinder(s,c))) > #define set_hsc(h,s,c,sector) { \ > s = sector % sectors + 1; \ > sector /= sectors; \ This patch seems to be malformed. Could you please check what's wrong? Thanks, Petr -- Petr Uzel IRC: ptr_uzl @ freenode
Attachment:
pgpWZxEm3XqtT.pgp
Description: PGP signature