summaryrefslogtreecommitdiff
path: root/utils/ldconfig.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-11 04:06:49 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-11 04:06:49 +0000
commit2ad663c004252681db182963c301536c1c2e0776 (patch)
treea2cc7180b924ff5b1ba65c5ade5cdb7522a6a813 /utils/ldconfig.c
parentd0bd553f5739383740aee1d26bdb018a2c79037c (diff)
remove newlines from warning messages
Diffstat (limited to 'utils/ldconfig.c')
-rw-r--r--utils/ldconfig.c6
1 files changed, 3 insertions, 3 deletions
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);