|
|
|
|
|
|
|
|
|
|
xen-tools
[Xen-tools] [PATCH] ... and remove last remaining xs_write flags usage
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 @@
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;
--
A bad analogy is like a leaky screwdriver -- Richard Braakman
_______________________________________________
Xen-tools mailing list
Xen-tools@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-tools
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-tools] [PATCH] ... and remove last remaining xs_write flags usage,
Rusty Russell <=
|
|
|
|
|