aboutsummaryrefslogtreecommitdiffstats
path: root/tools/hotplug
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@citrix.com>2012-08-31 10:42:05 +0100
committerRoger Pau Monne <roger.pau@citrix.com>2012-08-31 10:42:05 +0100
commit91227c3f91fd62aee773667812da4be9bcf94003 (patch)
tree897f9caa95a9b4e52b70dd8e81b2bc12ac3f9052 /tools/hotplug
parent2b5fb80ff7f475ab9cd0fed0ffbe15a8acce4494 (diff)
downloadxen-91227c3f91fd62aee773667812da4be9bcf94003.tar.gz
xen-91227c3f91fd62aee773667812da4be9bcf94003.tar.bz2
xen-91227c3f91fd62aee773667812da4be9bcf94003.zip
hotplug/NetBSD: fix xenstore_write usage in error
xenstore_write doesn't exist, use xenstore-write instead. The error function is currently broken without this change. Signed-off-by: Roger Pau Monne <roger.pau@citrix.com> Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/hotplug')
-rw-r--r--tools/hotplug/NetBSD/block2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hotplug/NetBSD/block b/tools/hotplug/NetBSD/block
index cf5ff3a2f9..28135f5168 100644
--- a/tools/hotplug/NetBSD/block
+++ b/tools/hotplug/NetBSD/block
@@ -12,7 +12,7 @@ export PATH
error() {
echo "$@" >&2
- xenstore_write $xpath/hotplug-status error
+ xenstore-write $xpath/hotplug-status error
exit 1
}