WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 1 of 6] xenbackendd: fix incorrect usage of pidfile

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 1 of 6] xenbackendd: fix incorrect usage of pidfile
From: Roger Pau Monne <roger.pau@xxxxxxxxxxxxx>
Date: Thu, 22 Sep 2011 14:01:08 +0200
Delivery-date: Thu, 22 Sep 2011 05:07:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:content-type:mime-version:content-transfer-encoding:subject :x-mercurial-node:message-id:in-reply-to:references:user-agent:date :from:to; bh=U/LL8JJHEiEL3lWB+u4/VMSW3bgk9D+tKMKsMvIXoLk=; b=SdtxZZ0XZ8q7+aT30A3+tlQ9cday2cHKyZQw4k8YOAQOC+KpRdsXfbgDaVDJSXowE9 CvPivCIUWFE3krQnZSHnBEJmMmO1jzNYsX+1STBOxR9iZxIPFeDGX9YgQFvCNP/XL26X ySUvDngnN49+lH23BXDXdOC1wUrBpDKiFOEsw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1316692867@loki>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1316692867@loki>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.8.4
# HG changeset patch
# User Roger Pau Monne <roger.pau@xxxxxxxxxxxxx>
# Date 1316692475 -7200
# Node ID 576c0ce336acb501cbba245dc801f06edc391479
# Parent  a422e2a4451e16dc791b293f41966b842fa4781d
xenbackendd: fix incorrect usage of pidfile

Fix xenbackendd ignoring the pidfile passed through the command line.

Signed-off-by: Roger Pau Monne <roger.pau@xxxxxxxxxxxxx>

diff -r a422e2a4451e -r 576c0ce336ac tools/xenbackendd/xenbackendd.c
--- a/tools/xenbackendd/xenbackendd.c   Sun Sep 18 00:26:52 2011 +0100
+++ b/tools/xenbackendd/xenbackendd.c   Thu Sep 22 13:54:35 2011 +0200
@@ -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;

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel