From b8e90cda19e71dbf263f57a1c9407e8d5385a898 Mon Sep 17 00:00:00 2001 From: Andrew Chilton Date: Sun, 24 Jan 2010 02:13:28 +1300 Subject: [PATCH] Fix up which functions are being called --- lib/CIL/Command/Fsck.pm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/CIL/Command/Fsck.pm b/lib/CIL/Command/Fsck.pm index e362e3e..2c48b36 100644 --- a/lib/CIL/Command/Fsck.pm +++ b/lib/CIL/Command/Fsck.pm @@ -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"); } } } -- 2.39.5