ia64/xen-unstable

changeset 6968:0a2cc72ee6e4

Fix one more usage of xs_write.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Mon Sep 19 14:36:15 2005 +0000 (2005-09-19)
parents f7a7f8f2e6e4
children 2796d45c5835
files tools/xenstore/xenstore_client.c
line diff
     1.1 --- a/tools/xenstore/xenstore_client.c	Mon Sep 19 14:34:30 2005 +0000
     1.2 +++ b/tools/xenstore/xenstore_client.c	Mon Sep 19 14:36:15 2005 +0000
     1.3 @@ -102,7 +102,7 @@ main(int argc, char **argv)
     1.4  	optind++;
     1.5  #elif defined(CLIENT_write)
     1.6  	success = xs_write(xsh, argv[optind], argv[optind + 1],
     1.7 -			   strlen(argv[optind + 1]), O_CREAT);
     1.8 +			   strlen(argv[optind + 1]));
     1.9  	if (!success) {
    1.10  	    warnx("could not write path %s", argv[optind]);
    1.11  	    ret = 1;