From 81c92940c1645be9f9d87958e7f02395f0a15b39 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Mon, 19 Oct 2020 00:34:11 +0200 Subject: [PATCH] btrbk: fix unitialized value in warning Regression from: 5c32ced7d6 --- btrbk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrbk b/btrbk index a56a907..183ce7e 100755 --- a/btrbk +++ b/btrbk @@ -2364,7 +2364,7 @@ sub btr_tree($$$$) my $node_id = $_->{MNTOPS}{subvolid}; my $node = $id{$node_id}; unless($node) { - WARN "Unknown subvolid=$_->{subvolid} (in btrfs tree of $host_mount_source) for mountpoint: $vol->{URL_PREFIX}$_->{mount_point}"; + WARN "Unknown subvolid=$node_id (in btrfs tree of $host_mount_source) for mountpoint: $vol->{URL_PREFIX}$_->{mount_point}"; next; } $mountpoints_hash{$node_id} = $node;