From 084c1e96320e5dd0a90ce48a657c6ee6cad454e7 Mon Sep 17 00:00:00 2001
From: Pascal Rigaux <pixel@mandriva.com>
Date: Wed, 19 Feb 2003 23:17:59 +0000
Subject: use formatError on $err

---
 perl-install/diskdrake/interactive.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'perl-install')

diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index c7eb59b60..5fdf71c82 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -995,7 +995,7 @@ sub check_type {
     my ($in, $type, $hd, $part) = @_;
     eval { fsedit::check_type($type, $hd, $part) };
     if (my $err = $@) {
-	$in->ask_warn('', $err);
+	$in->ask_warn('', formatError($err));
 	return;
     }
     if ($::isStandalone) {
-- 
cgit v1.2.1