From 2ad663c004252681db182963c301536c1c2e0776 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 11 Jan 2006 04:06:49 +0000 Subject: remove newlines from warning messages --- utils/ldconfig.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils') diff --git a/utils/ldconfig.c b/utils/ldconfig.c index f54eadd27..30e5fdb7c 100644 --- a/utils/ldconfig.c +++ b/utils/ldconfig.c @@ -303,7 +303,7 @@ char *is_shlib(const char *dir, const char *name, int *type, { /* always call readsoname to update type */ if(expected_type == LIB_DLL) { - warnx("%s is not an a.out library, its ELF!\n", buff); + warnx("%s is not an a.out library, it's ELF!", buff); expected_type=LIB_ANY; } *type = LIB_ELF; @@ -526,7 +526,7 @@ void scan_dir(const char *rawname) } else { - warnx("Unknown type field '%s' for dir '%s' - ignored\n", t, name); + warnx("Unknown type field '%s' for dir '%s' - ignored", t, name); expected_type = LIB_ANY; } } @@ -1055,7 +1055,7 @@ int main(int argc, char **argv) if (strcmp(UCLIBC_RUNTIME_PREFIX "lib", cp) == 0 || strcmp(UCLIBC_RUNTIME_PREFIX "usr/lib", cp) == 0) { if (verbose >= 0) - warnx("Remove `%s' from `%s'\n", cp, LDSO_CONF); + warnx("You should remove `%s' from `%s'", cp, LDSO_CONF); continue; } scan_dir(cp); -- cgit v1.2.3