Source-Changes-HG archive

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

[src/trunk]: src/libexec/ld.elf_so don't stutter when printing error messages.



details:   https://anonhg.NetBSD.org/src/rev/38bb5a72c191
branches:  trunk
changeset: 479927:38bb5a72c191
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Dec 27 15:36:36 1999 +0000

description:
don't stutter when printing error messages.

diffstat:

 libexec/ld.elf_so/load.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 868d3a705182 -r 38bb5a72c191 libexec/ld.elf_so/load.c
--- a/libexec/ld.elf_so/load.c  Mon Dec 27 11:52:36 1999 +0000
+++ b/libexec/ld.elf_so/load.c  Mon Dec 27 15:36:36 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: load.c,v 1.10 1999/12/15 20:13:31 christos Exp $        */
+/*     $NetBSD: load.c,v 1.11 1999/12/27 15:36:36 christos Exp $        */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -170,7 +170,7 @@
                case CTLTYPE_STRING:
                        break;
                default:
-                       warnx("unsupported sysctl type %d",
+                       xwarnx("unsupported sysctl type %d",
                            x->ctltype[x->ctlmax - 1]);
                        break;
                }
@@ -187,7 +187,7 @@
                }
 
                if (i == RTLD_MAX_ENTRY) {
-                       warnx("sysctl value %s not found for lib%s",
+                       xwarnx("sysctl value %s not found for lib%s",
                            val.s, name);
                        break;
                }
@@ -198,7 +198,7 @@
                        libpath = _rtld_find_library(
                            x->entry[i].library[j], obj);
                        if (libpath == NULL) {
-                               warnx("could not load lib%s for lib%s",
+                               xwarnx("could not load %s for %s",
                                    x->entry[i].library[j], name);
                                continue;
                        }



Home | Main Index | Thread Index | Old Index