summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-21 11:16:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-21 11:16:36 +0000
commit62dda0915afa2eb3a8de8e801cd1ef3ecdf4c69e (patch)
tree8038ebe7838a9443c4a8e33f88a55055b478f0e4
parentae7630b8d454e9ac59b4befbdda98cb440e68ee6 (diff)
downloaddrakx-62dda0915afa2eb3a8de8e801cd1ef3ecdf4c69e.tar
drakx-62dda0915afa2eb3a8de8e801cd1ef3ecdf4c69e.tar.gz
drakx-62dda0915afa2eb3a8de8e801cd1ef3ecdf4c69e.tar.bz2
drakx-62dda0915afa2eb3a8de8e801cd1ef3ecdf4c69e.tar.xz
drakx-62dda0915afa2eb3a8de8e801cd1ef3ecdf4c69e.zip
- fix build (fix a workaround in partimage_whole_disk)
-rw-r--r--rescue/NEWS2
-rwxr-xr-xrescue/partimage_whole_disk2
2 files changed, 3 insertions, 1 deletions
diff --git a/rescue/NEWS b/rescue/NEWS
index 386b5d20a..03a20dcd0 100644
--- a/rescue/NEWS
+++ b/rescue/NEWS
@@ -1,3 +1,5 @@
+- fix build (fix a workaround in partimage_whole_disk)
+
Version 1.7 - 25 September 2007, by Pascal "Pixel" Rigaux
- add mount.nfs binary (since mount doesn't handle nfs fs anymore)
diff --git a/rescue/partimage_whole_disk b/rescue/partimage_whole_disk
index 91c92ac70..6d10ffdd7 100755
--- a/rescue/partimage_whole_disk
+++ b/rescue/partimage_whole_disk
@@ -13,7 +13,7 @@ use partition_table::empty;
use Carp::Heavy;
#- help getting the file in make_rescue_img
-BEGIN { partition_table::raw::default_type() }
+BEGIN { partition_table::raw::first_usable_sector() }
my %options = (
save_home_directory => 1,