All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools/xenstore/xenstore_core.c
@ 2005-08-11 21:15 Jerone Young
  2005-08-11 22:02 ` Keir Fraser
  0 siblings, 1 reply; 3+ messages in thread
From: Jerone Young @ 2005-08-11 21:15 UTC (permalink / raw)
  To: xen-devel

tmpout is initialized. Just print to the screen.

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>

--- tools/xenstore/xenstored_core.old   2005-08-11 12:54:42.000000000
-0500
+++ tools/xenstore/xenstored_core.c     2005-08-11 12:55:16.000000000
-0500
@@ -1675,7 +1675,7 @@ int main(int argc, char *argv[])
        if (outputpid) {
                char buffer[20];
                sprintf(buffer, "%i\n", getpid());
-               write(tmpout, buffer, strlen(buffer));
+               printf("%i\n", buffer);
        }

        /* close stdin/stdout now we're ready to accept connections */




-- 
Jerone Young
IBM Linux Technology Center
jyoung5@us.ibm.com
512-838-1157 (T/L: 678-1157)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-12  3:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-11 21:15 [PATCH] tools/xenstore/xenstore_core.c Jerone Young
2005-08-11 22:02 ` Keir Fraser
2005-08-12  3:09   ` Rusty Russell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.