summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,