Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumpclient attempt to inform user of what the error m...
details: https://anonhg.NetBSD.org/src/rev/cfbce920a426
branches: trunk
changeset: 781517:cfbce920a426
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Sep 12 12:38:16 2012 +0000
description:
attempt to inform user of what the error means
diffstat:
lib/librumpclient/rumpclient.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r bfa058a0f452 -r cfbce920a426 lib/librumpclient/rumpclient.c
--- a/lib/librumpclient/rumpclient.c Wed Sep 12 12:07:04 2012 +0000
+++ b/lib/librumpclient/rumpclient.c Wed Sep 12 12:38:16 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpclient.c,v 1.51 2012/08/29 10:38:53 msaitoh Exp $ */
+/* $NetBSD: rumpclient.c,v 1.52 2012/09/12 12:38:16 pooka Exp $ */
/*
* Copyright (c) 2010, 2011 Antti Kantee. All Rights Reserved.
@@ -49,7 +49,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: rumpclient.c,v 1.51 2012/08/29 10:38:53 msaitoh Exp $");
+__RCSID("$NetBSD: rumpclient.c,v 1.52 2012/09/12 12:38:16 pooka Exp $");
#include <sys/param.h>
#include <sys/mman.h>
@@ -877,6 +877,7 @@
if ((p = getenv("RUMP__PARSEDSERVER")) == NULL) {
if ((p = getenv("RUMP_SERVER")) == NULL) {
+ fprintf(stderr, "error: RUMP_SERVER not set\n");
errno = ENOENT;
goto out;
}
Home |
Main Index |
Thread Index |
Old Index