xenbackendd: fix incorrect usage of pidfile
authorRoger Pau Monne <roger.pau@entel.upc.edu>
Thu, 6 Oct 2011 16:24:36 +0000 (17:24 +0100)
committerRoger Pau Monne <roger.pau@entel.upc.edu>
Thu, 6 Oct 2011 16:24:36 +0000 (17:24 +0100)
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>
tools/xenbackendd/xenbackendd.c

index a379bae88df29957336dde71317a1e0d2961c867..a659baf6c0eeb51024d75d76d15dbe14292f92fc 100644 (file)
@@ -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;