diff options
author | Karel Zak <kzak@redhat.com> | 2009-08-06 10:34:36 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2009-09-07 12:07:07 +0200 |
commit | fa2b1cb32e67d7257b319206ff1bc90a40a770de (patch) | |
tree | 1853858dda9d6049d655fe68a56482a62e8f6404 /partx | |
parent | 77f5744c982cd57b1bf1181f8f37023512236902 (diff) | |
download | util-linux-old-fa2b1cb32e67d7257b319206ff1bc90a40a770de.tar.gz |
partx: work properly with 512 sectors (dos PT)
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'partx')
-rw-r--r-- | partx/dos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/partx/dos.c b/partx/dos.c index ebc4ce0a..f962f376 100644 --- a/partx/dos.c +++ b/partx/dos.c @@ -44,7 +44,7 @@ read_extended_partition(int fd, struct partition *ep, if (++loopct > 100) return n; - bp = getblock(fd, here); + bp = getblock(fd, here * ssf); /* in 512 blocks */ if (bp == NULL) return n; |