Jelajahi Sumber

typo fixes (get_smart_output => _get_smart_output)

Ilya 7 tahun lalu
induk
melakukan
14fc9e47a3
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      lib/Disk/SMART.pm

+ 1 - 1
lib/Disk/SMART.pm

@@ -207,7 +207,7 @@ sub run_short_test {
     my ( $self, $device ) = @_;
     $self->_validate_param($device);
 
-    my $test_out = get_smart_output( $device, '-t short' );
+    my $test_out = _get_smart_output( $device, '-t short' );
     my ($short_test_time) = $test_out =~ /Please wait (.*) minutes/s;
     sleep( $short_test_time * 60 );