Source-Changes-HG archive

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

[src/trunk]: src/lib/librumphijack make error messages sensible. from uwe



details:   https://anonhg.NetBSD.org/src/rev/78a52c4f3652
branches:  trunk
changeset: 762752:78a52c4f3652
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Feb 27 11:32:12 2011 +0000

description:
make error messages sensible.  from uwe

diffstat:

 lib/librumphijack/hijack.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r b9bb206d8e12 -r 78a52c4f3652 lib/librumphijack/hijack.c
--- a/lib/librumphijack/hijack.c        Sun Feb 27 10:11:27 2011 +0000
+++ b/lib/librumphijack/hijack.c        Sun Feb 27 11:32:12 2011 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: hijack.c,v 1.69 2011/02/25 18:36:36 pooka Exp $       */
+/*      $NetBSD: hijack.c,v 1.70 2011/02/27 11:32:12 pooka Exp $       */
 
 /*-
  * Copyright (c) 2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: hijack.c,v 1.69 2011/02/25 18:36:36 pooka Exp $");
+__RCSID("$NetBSD: hijack.c,v 1.70 2011/02/27 11:32:12 pooka Exp $");
 
 #define __ssp_weak_name(fun) _hijack_ ## fun
 
@@ -460,13 +460,13 @@
                syscalls[i].bs_host = dlsym(RTLD_NEXT,
                    syscnames[j].scm_hostname);
                if (syscalls[i].bs_host == NULL)
-                       errx(1, "hostcall %s not found missing",
+                       errx(1, "hostcall %s not found!",
                            syscnames[j].scm_hostname);
 
                syscalls[i].bs_rump = dlsym(RTLD_NEXT,
                    syscnames[j].scm_rumpname);
                if (syscalls[i].bs_rump == NULL)
-                       errx(1, "rumpcall %s not found missing",
+                       errx(1, "rumpcall %s not found!",
                            syscnames[j].scm_rumpname);
        }
 



Home | Main Index | Thread Index | Old Index