[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix one more usage of xs_write.



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 0a2cc72ee6e47287ffc27b1dac4a4e6a1741f952
# Parent  f7a7f8f2e6e42dc642e7dcb83e7c7bdddccab9aa
Fix one more usage of xs_write.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r f7a7f8f2e6e4 -r 0a2cc72ee6e4 tools/xenstore/xenstore_client.c
--- a/tools/xenstore/xenstore_client.c  Mon Sep 19 14:34:30 2005
+++ b/tools/xenstore/xenstore_client.c  Mon Sep 19 14:36:15 2005
@@ -102,7 +102,7 @@
        optind++;
 #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;

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.