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/
Home Products Support Community News


[Xen-tools] [PATCH] ... and remove last remaining xs_write flags usage

To: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
Subject: [Xen-tools] [PATCH] ... and remove last remaining xs_write flags usage
From: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Date: Sat, 17 Sep 2005 10:17:02 +1000
Cc: Xen Tools <xen-tools@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 17 Sep 2005 00:14:37 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-tools-request@lists.xensource.com?subject=help>
List-id: Xen control tools developers <xen-tools.lists.xensource.com>
List-post: <mailto:xen-tools@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-tools>, <mailto:xen-tools-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-tools>, <mailto:xen-tools-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-tools-bounces@xxxxxxxxxxxxxxxxxxx
Missed one in original changeset.

Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>

# HG changeset patch
# User Rusty Russell <rusty@xxxxxxxxxxxxxxx>
# Node ID 693615919f7b8983dda40364cfa9c8d1da95b0d3
# Parent  a678d0c04c92a555cc8e592a51ed294e5cc9c021
Fix xenstore_client in line with xs_write flags removal.

diff -r a678d0c04c92 -r 693615919f7b tools/xenstore/xenstore_client.c
--- a/tools/xenstore/xenstore_client.c  Fri Sep 16 06:46:15 2005
+++ b/tools/xenstore/xenstore_client.c  Fri Sep 16 23:35:35 2005
@@ -102,7 +102,7 @@
 #elif defined(CLIENT_write)
        success = xs_write(xsh, argv[optind], argv[optind + 1],
-                          strlen(argv[optind + 1]), O_CREAT);
+                          strlen(argv[optind + 1]));
        if (!success) {
            warnx("could not write path %s", argv[optind]);
            ret = 1;

A bad analogy is like a leaky screwdriver -- Richard Braakman

Xen-tools mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-tools] [PATCH] ... and remove last remaining xs_write flags usage, Rusty Russell <=