Found with readability-static-accessed-through-instance

Signed-off-by: Rosen Penev <ros...@gmail.com>
---
 ddrescuelog.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ddrescuelog.cc b/ddrescuelog.cc
index a17336b..e63d88d 100644
--- a/ddrescuelog.cc
+++ b/ddrescuelog.cc
@@ -497,7 +497,7 @@ int do_show_status( Domain & domain, const char * const 
mapname,
   if( verbosity >= 1 ) std::printf( "\n%s", mapname );
   std::printf( "\n   current pos: %9sB,  current status: %s\n",
                format_num( mapfile.current_pos() ),
-               mapfile.status_name( mapfile.current_status() ) );
+               Mapfile::status_name( mapfile.current_status() ) );
   std::printf( "mapfile extent: %9sB,  in %6ld area(s)\n",
                format_num( extent.size() ), true_sblocks );
   if( domain.pos() > 0 || domain.end() < extent.end() || domain.blocks() > 1 )
-- 
2.17.1


_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-ddrescue

Reply via email to