diff options
author | vhanquez@kneesa.uk.xensource.com <vhanquez@kneesa.uk.xensource.com> | 2006-01-10 15:05:05 +0000 |
---|---|---|
committer | vhanquez@kneesa.uk.xensource.com <vhanquez@kneesa.uk.xensource.com> | 2006-01-10 15:05:05 +0000 |
commit | e92fb45b06dd1b3d218ca4fb85a4dfc5168ffa5a (patch) | |
tree | c56288193dc288862f102d7f69bfa00e847174ca /tools/console/client | |
parent | 86bf018541a52e155de3f75936c902bc93c855e7 (diff) | |
download | xen-e92fb45b06dd1b3d218ca4fb85a4dfc5168ffa5a.tar.gz xen-e92fb45b06dd1b3d218ca4fb85a4dfc5168ffa5a.tar.bz2 xen-e92fb45b06dd1b3d218ca4fb85a4dfc5168ffa5a.zip |
Replace NULL xenbus transaction by a specific XBT_NULL value.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
Diffstat (limited to 'tools/console/client')
-rw-r--r-- | tools/console/client/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/console/client/main.c b/tools/console/client/main.c index 0760f0cb9c..f500a593ad 100644 --- a/tools/console/client/main.c +++ b/tools/console/client/main.c @@ -220,7 +220,7 @@ int main(int argc, char **argv) if (path == NULL) err(ENOMEM, "realloc"); strcat(path, "/console/tty"); - str_pty = xs_read(xs, NULL, path, &len); + str_pty = xs_read(xs, XBT_NULL, path, &len); /* FIXME consoled currently does not assume domain-0 doesn't have a console which is good when we break domain-0 up. To keep us @@ -245,7 +245,7 @@ int main(int argc, char **argv) struct timeval tv = { 0, 500 }; select(0, NULL, NULL, NULL, &tv); /* pause briefly */ - str_pty = xs_read(xs, NULL, path, &len); + str_pty = xs_read(xs, XBT_NULL, path, &len); } if (str_pty == NULL) { |