diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-08-01 12:55:10 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-08-01 12:55:10 +0100 |
commit | b1757490f0d13d1525e9d6a589188ddf4acafbbf (patch) | |
tree | 49528945fffde6c92ddfefa5bafd852e04a09ba9 /tools/xenstore/xs_tdb_dump.c | |
parent | 019e22bb40852a517dd5b678dba6ef660c606a15 (diff) | |
download | xen-b1757490f0d13d1525e9d6a589188ddf4acafbbf.tar.gz xen-b1757490f0d13d1525e9d6a589188ddf4acafbbf.tar.bz2 xen-b1757490f0d13d1525e9d6a589188ddf4acafbbf.zip |
xenstored: Do not write to stderr if we are daemonised!
This fixes client reader-thread deaths in which a 'garbage string' was
being read instead of a well-formed message header.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/xenstore/xs_tdb_dump.c')
-rw-r--r-- | tools/xenstore/xs_tdb_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenstore/xs_tdb_dump.c b/tools/xenstore/xs_tdb_dump.c index 5f1382f41b..d3c515418c 100644 --- a/tools/xenstore/xs_tdb_dump.c +++ b/tools/xenstore/xs_tdb_dump.c @@ -4,7 +4,7 @@ #include <fcntl.h> #include <stdio.h> #include <stdarg.h> - +#include <string.h> #include "xs_lib.h" #include "tdb.h" #include "talloc.h" |