aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/examples/block2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/examples/block b/tools/examples/block
index b37f8fdbd4..6698df77c3 100644
--- a/tools/examples/block
+++ b/tools/examples/block
@@ -131,7 +131,7 @@ same_vm()
local thisdom="$XENBUS_FRONTEND_ID"
local otherdom="$1"
local thisvm=$(xenstore-read "/local/domain/$thisdom/vm")
- local othervm=$(xenstore-read "/local/domain/otherdom/vm")
+ local othervm=$(xenstore-read "/local/domain/$otherdom/vm")
return [ "$thisvm" == "$othervm" ]
}