diff options
| author | Karel Zak <kzak@redhat.com> | 2012-07-23 14:07:35 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2012-07-23 14:07:35 +0200 |
| commit | 6718834075f299098cc170fd2a2e420725f022d0 (patch) | |
| tree | 41f6c79ccf659ab120c735f3a0f7dc07dd4ba3ac /fdisks/fdisk.c | |
| parent | 9a5e29e94b60b4733a1e4432b00b1a139fafb255 (diff) | |
| download | util-linux-6718834075f299098cc170fd2a2e420725f022d0.tar.gz | |
fdisk: move label specific stuff to fdiskdoslabel.c
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisks/fdisk.c')
| -rw-r--r-- | fdisks/fdisk.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c index cc874a68..e1d5fa6f 100644 --- a/fdisks/fdisk.c +++ b/fdisks/fdisk.c @@ -117,11 +117,6 @@ static const struct menulist_descr menulist[] = { {'y', N_("change number of physical cylinders"), {0, SUN_LABEL}}, }; -int -valid_part_table_flag(unsigned char *b) { - return (b[510] == 0x55 && b[511] == 0xaa); -} - sector_t get_nr_sects(struct partition *p) { return read4_little_endian(p->size4); } |
