aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenbackendd
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@entel.upc.edu>2011-10-06 17:24:36 +0100
committerRoger Pau Monne <roger.pau@entel.upc.edu>2011-10-06 17:24:36 +0100
commitd0b1373b70b5842b81dcdb74f3293d16857ff4ce (patch)
treef1227cce31949ea2c6446a0837f333a2289f6b61 /tools/xenbackendd
parentc0f8d49b223ec6ec05783eac1a6b3710d70dc4f7 (diff)
downloadxen-d0b1373b70b5842b81dcdb74f3293d16857ff4ce.tar.gz
xen-d0b1373b70b5842b81dcdb74f3293d16857ff4ce.tar.bz2
xen-d0b1373b70b5842b81dcdb74f3293d16857ff4ce.zip
xenbackendd: fix incorrect usage of pidfile
Fix xenbackendd ignoring the pidfile passed through the command line. Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> Acked-by: Christoph Egger <Christoph.Egger@amd.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/xenbackendd')
-rw-r--r--tools/xenbackendd/xenbackendd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenbackendd/xenbackendd.c b/tools/xenbackendd/xenbackendd.c
index a379bae88d..a659baf6c0 100644
--- a/tools/xenbackendd/xenbackendd.c
+++ b/tools/xenbackendd/xenbackendd.c
@@ -169,7 +169,7 @@ main(int argc, char * const argv[])
log_file = optarg;
break;
case 'p':
- pidfile = pidfile;
+ pidfile = optarg;
case 's':
vbd_script = optarg;
break;