summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-02-28 14:59:56 -0800
committerandroid code review <noreply-gerritcodereview@google.com>2012-02-28 14:59:56 -0800
commit5cc398ef00b439bcf85b65c894433dd52362dff7 (patch)
tree74f07ee5f27f0a3f6dcaab1fd74672288ac7fdff
parent13438a93a8904ae712655533ce63aa0d5b486aba (diff)
parent69ab6de33319c111a6b9ff4c78474d7605b28175 (diff)
downloadsystem_core-5cc398ef00b439bcf85b65c894433dd52362dff7.zip
system_core-5cc398ef00b439bcf85b65c894433dd52362dff7.tar.gz
system_core-5cc398ef00b439bcf85b65c894433dd52362dff7.tar.bz2
Merge "Toolbox implementation of chown has a bad print"
-rw-r--r--toolbox/chown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolbox/chown.c b/toolbox/chown.c
index e9d108b..7b24c52 100644
--- a/toolbox/chown.c
+++ b/toolbox/chown.c
@@ -62,7 +62,7 @@ int chown_main(int argc, char **argv)
for (i = 2; i < argc; i++) {
if (chown(argv[i], uid, gid) < 0) {
- fprintf(stderr, "Unable to chmod %s: %s\n", argv[i], strerror(errno));
+ fprintf(stderr, "Unable to chown %s: %s\n", argv[i], strerror(errno));
return 10;
}
}