From e913b23e99025673e7495102a1d46dc7e0f65110 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Mon, 1 Feb 2016 17:07:17 +0100 Subject: [PATCH] btrbk: fixed debug/trace output of btrfs_filesystem_usage() --- btrbk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/btrbk b/btrbk index 3e6f8c1..31b1416 100755 --- a/btrbk +++ b/btrbk @@ -980,9 +980,9 @@ sub btrfs_filesystem_usage($) else { TRACE "Failed to parse filesystem usage line \"$_\" for: $vol->{PRINT}"; } - DEBUG "Parsed " . scalar(keys %detail) . " filesystem usage detail items: $vol->{PRINT}"; - TRACE(Data::Dumper->Dump([$vol], ["btrfs_subvolume_detail($vol->{URL})"])); } + DEBUG "Parsed " . scalar(keys %detail) . " filesystem usage detail items: $vol->{PRINT}"; + TRACE(Data::Dumper->Dump([\%detail], ["btrfs_filesystem_usage($vol->{URL})"])); return \%detail; }