]> git.mjollnir.org Git - cil.git/commitdiff
Fix up which functions are being called
authorAndrew Chilton <andychilton@gmail.com>
Sat, 23 Jan 2010 13:13:28 +0000 (02:13 +1300)
committerAndrew Chilton <andychilton@gmail.com>
Sat, 23 Jan 2010 13:13:28 +0000 (02:13 +1300)
lib/CIL/Command/Fsck.pm

index e362e3e0caace482ed7092d63e763236ce0dd04b..2c48b367112417dc386faae36d74ed63f66b623d 100644 (file)
@@ -42,8 +42,6 @@ sub run {
     # * ToDo: validity
     # * it's parent exists
 
-    check_paths($cil);
-
     # find all the issues, comments and attachments
     my $issues = $cil->get_issues();
     my $issue = {};
@@ -167,18 +165,18 @@ sub run {
 
     # ------------
     # nothing left
-    separator();
+    CIL::Utils->separator();
 }
 
 sub print_fsck_errors {
     my ($entity, $errors) = @_;
     return unless keys %$errors;
 
-    separator();
+    CIL::Utils->separator();
     foreach my $issue_name ( keys %$errors ) {
-        title( "$entity $issue_name ");
+        CIL::Utils->title( "$entity $issue_name ");
         foreach my $error ( @{$errors->{$issue_name}} ) {
-            msg("* $error");
+            CIL::Utils->msg("* $error");
         }
     }
 }