From d73cbd31a295ac757e59f129f162d9cd69440224 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 21 Jul 2008 14:41:33 +0000 Subject: - first pass to unify/cleanup uid handling (-236b) This needs further love, alot of love.. Tito? --- coreutils/install.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coreutils') diff --git a/coreutils/install.c b/coreutils/install.c index c5d7a0cc5..c7ddbb214 100644 --- a/coreutils/install.c +++ b/coreutils/install.c @@ -170,7 +170,7 @@ int install_main(int argc, char **argv) /* Set the file mode */ if ((flags & OPT_MODE) && chmod(dest, mode) == -1) { - bb_perror_msg("cannot change permissions of %s", dest); + bb_perror_msg("can't change %s of %s", "permissions", dest); ret = EXIT_FAILURE; } #if ENABLE_SELINUX @@ -181,7 +181,7 @@ int install_main(int argc, char **argv) if ((flags & (OPT_OWNER|OPT_GROUP)) && lchown(dest, uid, gid) == -1 ) { - bb_perror_msg("cannot change ownership of %s", dest); + bb_perror_msg("can't change %s of %s", "ownership", dest); ret = EXIT_FAILURE; } if (flags & OPT_STRIP) { -- cgit v1.2.3