Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/librumpuser Print the "halted\n" from previous commit to...



details:   https://anonhg.NetBSD.org/src/rev/f9745bc21108
branches:  trunk
changeset: 809675:f9745bc21108
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Jul 27 07:31:00 2015 +0000

description:
Print the "halted\n" from previous commit to stdout, not stderr.

The putchar hypercall writes to stdout, so this change restores
the original "functionality" (which was not intended to change).

from gson, via tests

diffstat:

 lib/librumpuser/rumpuser.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a0be4da3bd9b -r f9745bc21108 lib/librumpuser/rumpuser.c
--- a/lib/librumpuser/rumpuser.c        Mon Jul 27 04:50:50 2015 +0000
+++ b/lib/librumpuser/rumpuser.c        Mon Jul 27 07:31:00 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpuser.c,v 1.65 2015/07/24 14:11:11 pooka Exp $      */
+/*     $NetBSD: rumpuser.c,v 1.66 2015/07/27 07:31:00 pooka Exp $      */
 
 /*
  * Copyright (c) 2007-2010 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
 #include "rumpuser_port.h"
 
 #if !defined(lint)
-__RCSID("$NetBSD: rumpuser.c,v 1.65 2015/07/24 14:11:11 pooka Exp $");
+__RCSID("$NetBSD: rumpuser.c,v 1.66 2015/07/27 07:31:00 pooka Exp $");
 #endif /* !lint */
 
 #include <sys/stat.h>
@@ -232,7 +232,7 @@
 rumpuser_exit(int rv)
 {
 
-       fprintf(stderr, "halted\n");
+       printf("halted\n");
        if (rv == RUMPUSER_PANIC)
                abort();
        else



Home | Main Index | Thread Index | Old Index